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


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

Last Updated: June 2, 2024

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 of the website.

(more…)

ZXing.Net implementation in ASP.NET Core

Last Updated: February 5, 2023

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: January 17, 2024

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 and refresh tokens. 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: November 20, 2023

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: November 20, 2023

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: November 20, 2023

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…)

Kubernetes Volume emptyDir and SSL Mount to volume

Last Updated: November 19, 2023

We will now learn ASP.NET Core Kubernetes Volume and how to Mount SSL Certificates to Volume. A Kubernetes Volume is a directory, containing some files, which is accessible to all containers in a Pod. Files to this directory can be mounted from outside the Pod and so if the Pod or Containers crash then also this directory and it’s contents remain safe.

(more…)

Kubernetes: Host Multi-Container ASP.NET Core app to Multiple Pods

Last Updated: November 19, 2023

In this ASP.NET Core Kubernetes tutorial I will host a Multi-Container ASP.NET Core app to Multiple Kubernetes Pods. I will also add a Service to expose the pods. The Pods will use this service to communicate with one another.

Kubernetes: Host Multi-Container ASP.NET Core app to Single Pod

Last Updated: November 19, 2023

In this ASP.NET Core Kubernetes Tutorial I will host a Multi-Container ASP.NET Core app to a single Kubernetes Pod. The ASP.NET Core app will have 2 containers and these containers will also communicate with each other. I will show you how this communication will take place inside the Pod.

(more…)

How to use Kubernetes Ingress on an ASP.NET Core app

Last Updated: November 27, 2023

In this ASP.NET Core Kubernetes Ingress turorial we will create an Ingress for accessing the app on the browser. Ingress is a Kubernetes object whose work is to expose the Kubernetes Service to HTTP and HTTPS routes.

(more…)