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

How to implement Dependency Injection in .NET 5?

In this article, we will see how to implement Dependency Injection in .NET 5? Although, this implementation will be same for .NET Core 2.1 and .Net Core 3.1. To demonstrate Dependency Injection, I have used .NET 5 with Visual Studio 2019. What is Dependency Injection? Dependency Injection (DI) is a design pattern that can assist … Read more

What is YAML? What does it do?

YAML is an data serialization language. In 2001, YAML meant “Yet Another Markup Language.” The abbreviation was subsequently changed to “YAML Ain’t Markup Language” to underline that the language is proposed for data and not documents. Note: YAML is not a markup language. Official definition: YAML is a human friendly data serialization standard for all … Read more

What’s new in .NET 5 ?

.NET 5 is one of the major release after .NET Core 3.1. Note that, there is no .NET Core 4.0. This is to avoid confusion with 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 .NET … Read more

.Net Framework vs .NET Core vs .Net 5

Many developers have little doubt about the use of .NET Core and .NET Framework. If you will visit Microsoft site to download .NET, you will find 3 options – .NET (Latest version 5). Also called .NET 5 .NET Core (Latest version 3.1) .NET Framework (Latest version 4.8) It creates a doubt in our mind, Which … Read more