The Configuration system has gone through a lot of changes in new ASP.NET Core. The older ASP.NET used the Web.config file store configuration information. The newer configuration system now provides API to load the configuration from various sources like Json, XML, INI, Command line argument, Environment variables etc. In this tutorial, let us see how to store and retrieve the configuration from the appsettings.json file
Kestrel Configuration In this, article, we will learn what is Middleware is and how the Request Pipeline works in ASP.NET Core application. Request PipeLine The Request Pipeline is the mechanism by which requests are processed beginning with a Request and ending with a Response. The pipeline specifies how the application should respond to the HTTP […]
In this tutorial, let us look at the Kestrel Web Server for ASP.NET Core. The way we host our application in ASP.NET Core has gone through some drastic change compared to the previous version of ASP.NET. The Kestrel is the new way to Host to ASP.NET Core Application. It runs within the Application process making it completely self-contained.
In this article, we will look at the startup.cs and program.cs in more detail. The program class creates a web server in its Main method, while startup class configures services and the application’s request pipeline.
In this chapter, we will learn how ASP.NET Core solution items are organized in the Visual Studio and on the file system.