JWT Token Authentication Example with .NET 5

In this article, we will know about JWT Token Authentication and how to create JWT Token-based Web API in .NET 5 or .NET Core. What is JWT Token Authentication? As per JWT.io – “JSON Web Tokens are an open, industry-standard RFC 7519 method for representing claims securely between two parties.“ JWT stands for JSON Web … Read more

Middleware in .NET Core with Example

In this article, we will look into details about What is Middleware in .NET Core? Middleware in .NET Core is similar to HttpHandlers and HttpModules which were part of classic ASP.NET. When a user hit the request from a client such as a browser then before it hits the controller, it has to pass through … Read more

.NET Core Microservice Architecture implementation with Ocelot

In this article, we will see about .NET Core Microservice Architecture and we will also see the implementation of Microservice Architecture with Ocelot API Gateway. What is Microservice Architecture? Microservice is a technique to build small services and each running and handling the logic independently. These are independent services that have their own database. Microservice … Read more

How to use appsettings.json configuration in ASP.NET Core?

Configuration in ASP.NET Core based application is managed with one or more configuration files. Configuration providers read config data in the form of key value pair from multiple configuration sources and the sequence is – appsettings.json appsettings.Environment.json App Secrets for Development environment Environment variables Azure Key Vault In this article we will discuss about appsettings.json … Read more

What is Secret Manager in ASP.Net Core?

This article explains how to hide confidential information for an ASP.NET Core (now .Net 5) app on an development machine. As we know, ASP.Net Core application comes with appsettings.json file. This file contains basic configurable information about the project. Some developer store database connection string with password and some third party API credentials. The best … Read more

What’s new in .NET 5 ?

.NET 5 is one of the major releases after .NET Core 3.1. Note that, there is no .NET Core 4.0. This is to avoid confusion with the existing .NET Framework 4.x. In this post, let’s explore the new things in .NET 5 When was .NET 5 released? .NET 5 was released in November 2020. Is … Read more