Tutorials on ASP.NET Core, Blazor, jQuery, JavaScript, Entity Framework, Identity, WordPress, SQL, HTML & more


jQuery hide() Method – hide elements in a web page

Last Updated: July 28, 2022

The jQuery Hide method is used to hide one or more elements in your web page. This is similar to the CSS property display:none.

(more…)

Multi File Upload with Progress Bar in ASP.NET CORE

Last Updated: February 17, 2022

Ever wonder how to show Real time Progress of files being upload to the server, well this tutorial will teach you all this in multiple ways. So make sure to read this tutorial in full and download the source code given at the bottom.

(more…)

IdentityServer Role and Policy Based Authentication

Last Updated: August 16, 2022

When we want to allow users in specific roles to access certain resources then we apply role based authentication. In the same way when users satisfying a policy are allowed to access certain resources then this is called policy based authentication. In IdentityServer, both role and policy based authentications can be implemented very easily.

This tutorial is a part of "IdentityServer with ASP.NET Core Identity" series and contains 3 tutorials, these are:
  1. ASP.NET Core Identity with MongoDB as Database
  2. IdentityServer with ASP.NET Core Identity and MongoDB as Database
  3. IdentityServer Role and Policy Based Authentication
(more…)

IdentityServer with ASP.NET Core Identity and MongoDB as Database [Detailed Guide]

Last Updated: August 16, 2022

In this tutorial we will set up IdentityServer4 with ASP.NET Core Identity from absolute beginning. The ASP.NET Identity will be configured with a MongoDB database. When a client will come to IdentityServer4 for authentication, the client’ credentials, stored in the MongoDB database, will be checked by ASP.NET Core Identity. We are going to implement all this along with a Web API that will be secured with IdentityServer, so sit tight and enjoy this very long and detailed tutorial.

We will create a complete project from scratch and it’s source codes are given in GitHub repository.

(more…)

ASP.NET Core Identity with MongoDB as Database {Detailed}

Last Updated: August 16, 2022

In this tutorial we will implement ASP.NET Core Identity with MongoDB as the database. So, the MongoDB will serve as the Identity Database instead of SQL Server. First, we will configure Identity to use MongoDB as the database and after that create an example project where Identity Users and Roles will be created. In the end, Login and Logout feature will be added so that users can be authenticated to secured portions on the website.

(more…)

ZXing.Net implementation in ASP.NET Core

Last Updated: July 25, 2021

ZXing.NET is a library which supports decoding and generating of barcodes (like QR Code, PDF 417, EAN, UPC, Aztec, Data Matrix, Codabar) within images. In this tutorial I will implement it in ASP.NET Core application.

(more…)

Implementing JWT Refresh Token in ASP.NET Core MVC

Last Updated: July 21, 2021

This tutorial is about JWT Refresh Token, what is does, how to generate it and how to use it with JWT Access Tokens. Most probable this tutorial will clear all your doubts about JWT access tokens and refresh token. We are also going to implement it on our ASP.NET Core app. The source codes can be obtained by the download link which is given at the bottom of this tutorial.

(more…)

Kubernetes Liveness Readiness Startup Probes

Last Updated: October 15, 2022

Kubernetes ensures that the App running in Pods is always healthy. If there is some problem with the App then it restarts the Pod based on the restart policy set for the Pod. The question now is how k8s detects an un-healthy app? The answer is through Probes. In this tutorial we will be creating ASP.NET Core Kubernetes Probes this will help you to maintain your app smoothly.

(more…)

How to use Helm for ASP.NET Core with Kubernetes

Last Updated: October 15, 2022

Deploying apps on Kubernetes could be a job full of problems so we need HELM. HELM is a superhero like “He-Man”.

(more…)

Kubernetes Persistent volumes (PV) and Persistent Volume Claim (PVC)

Last Updated: October 15, 2022

In this ASP.NET Core Kubernetes tutorial we will be using Persistent Volumes (PV) as storages in the cluster, these are persistent in nature. The PV has a lifecycle independent of any individual pod which is using the PV. A Persistent Volume remains outside the Pod unlike emptyDir volume (emptyDir remains inside the Pod) so even if a Pod crashes there is no risk of the volume getting ruined.

(more…)