Adding Google Authentication In .Net Core Application Without Identity The Basics

Friday May 28, 2021 .NET CORE 4869

Having a flexibility of creating a login logic can have many benefits to enjoy your self logic on to the application for authorization. So today here..

Read More »

Using AutoFac On ASP.Net 5 (A Thirdparty Inversion of Control Container)

Wednesday April 21, 2021 .NET CORE 1575

.Net Core does ships with a built-in dependency injection framework. But there is a certain limitation with it so most of the developers prefer a..

Read More »

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

Monday June 29, 2020 .NET CORE 3177

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 5144

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 3017

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 17257

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 3795

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 4830

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 2299

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 1136

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 971

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 1029

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 1519

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 654

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 3579

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 558

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 617

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 2260

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 2144

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 »