Entity Framework Core For Beginners In Asp.Net Core – Code First Approach

Monday June 29, 2020 .NET CORE 1385

What is Orm? Object-Relational Mapper (ORM) is a technique that lets you query and manipulates data from a database using an object-oriented..

Read More »

Role Based Authorization Using Jwt Token In Asp.Net Core Web Api

Wednesday June 24, 2020 .NET CORE 2579

My previous post described how we can authenticate a web API method using JWT. The post is the continuation of my previous post  JWT Authentication..

Read More »

JWT Authentication In Asp.Net Core Web Api

Wednesday June 24, 2020 .NET CORE 1588

JWT (JSON Web Token) is one of the popular and most used authentication and authorization mechanism in web development. The information exchanged via..

Read More »

Customize Swagger UI With Custom Logo And Theme Color

Monday June 22, 2020 .NET CORE 4403

In my previous post, we discussed on how to Document an Asp.Net Core API with OpenApi/Swagger In Details but what if you want to change the default..

Read More »

Documenting an ASP.NET Core API with OpenAPI / Swagger In Detail

Sunday June 21, 2020 .NET CORE 1492

Documenting an API is an essential task. When consuming a Web API, understanding its various methods can be challenging for a developer. Swagger,..

Read More »

Add Extra Field To Serilog For Effective Log Analysis And Debugging In Asp.Net Core

Friday June 19, 2020 .NET CORE 762

On the previous blog, we added serilog for our .net core application. But sometimes we may require to add some custom fields to be more precise for..

Read More »

Implementing Serilog With Seq For Log Monitoring In Asp.Net Core

Thursday June 11, 2020 .NET CORE 833

Debugging an application while it is in a development environment or a production environment is always a tedious job. Also to get the exact error..

Read More »

Load Drop Down List From Data Row

Thursday June 4, 2020 ASP.NET 319

Creating a dynamic drop down list from DataRow returning from database i.e automatically binding the asp drop-down list field with the data returned..

Read More »

Replace Broken Image With Some Default Image

Thursday June 4, 2020 JQUERY SNIPPET 272

Sometimes we can find some issues where some image has broken links, and it is really not a good idea to show the broken image to viewers. So here is..

Read More »

Insert Multiple Row In Database Using XML From A ASP.Net Project

Thursday June 4, 2020 MSSQL 417

For inserting multiple row one of the convenient method is using xml we need to start by creating a xml string in c#: string[,] values= new..

Read More »

Row Number, Partition, Rank And Dense Rank Function in Sql Server

Thursday June 4, 2020 MSSQL 349

For generating random number for a list of data on a table: For generating unique numbers for a list of data on table we can use row_number method..

Read More »

Some WordPress Custom Functions For Custom Themes

Thursday June 4, 2020 WORDPRESS 252

WordPress is itself a complete content management system and we can tweak it in anyway we feel easy of. So, here some additional function we can..

Read More »

Convert English Number To Nepali Numbers Via Wp Functions

Thursday June 4, 2020 WORDPRESS 406

There is a simple technique to convert English numbers to Nepali numbers in WordPress via a custom function. The Custom function to be..

Read More »

Show Most Viewed Post And Show View Count (For Custom Themes)

Thursday June 4, 2020 WORDPRESS 228

Mostly on news template we need to show most views list of posts and yes there are plenty of plugins to do so but if you are doing a custom theme..

Read More »

Simple WordPress Post Loop

Thursday June 4, 2020 WORDPRESS 213

WordPress is all about posts and showing posts is possible with the help of loop. Though it looks like a simple php loop it is abit different since..

Read More »

ASP.NET Core Identity Tables Customization (Identity Table Renaming)

Thursday June 4, 2020 .NET CORE 327

When we start a .net core application using Asp.Net Core Identity once we complete our first migration and update it will create some table with..

Read More »

Store Additional User’s Data In Claims In ASP.Net Core Identity

Thursday June 4, 2020 .NET CORE 599

What if you want to add additional parameter or field in the user identity table i.e. AspNetUser. We might need this one so lets look how we can..

Read More »