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

Friday May 28, 2021 .NET CORE 6489

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 1721

.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 3452

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 5370

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 3266

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 19447

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 4088

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 5545

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 2567

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 1242

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 1118

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 1159

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 1850

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 724

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 4257

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 652

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 734

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 2641

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 2583

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 »