Learn the basics and core concepts of ASP.NET Core and get started with developing APIs using ASP.NET Core.
When an AspNetCore application starts up for execution, the first method to be called is the main() method inside the Program.cs file. Inside the main() method, an AspNetCore application builds a "Host" and invokes Run() method on it.
A Startup class is a simple C# class used to configure and construct an application request pipeline. It is one of the very first components which are picked up and executed by the aspnetcore runtime during application bootstrapping.
While developing applications in the AspNetCore environment, we seldom use a "new" keyword to create new instance of a Dependency required in our components. We often come across terms like services, container, IoC and - Dependency Injection.
Learn in-detail about services and how the different service types in ASP.NET Core - Singleton, Transient and Scoped services differ from each other in terms of object lifetime.
Entity Framework Core (shortly known as EF Core) is an ORM (object relational mapper) developed by Microsoft for .NET Framework. It is lightweight, extensible and open-sourced similar to the features of Dotnet Core.
A middleware can be termed as a handler module that runs before a request reaching a controller. A middleware can read an input request and can modify the request or decide if it can go further or needs to be responded back within itself.
Sometimes we might want to add a wrapper over the IConfiguration which can help us in transforming the values as per our expectations. This can also mean that we wouldn't need to go for additional typecasting from the IConfiguration dictionary each time.
AspNetCore supports deploying and running applications on Windows, Linux and MacOS environments as well by means of a hosting bundle provided by AspNetCore. This hosting bundle provides the necessary runtime for the application to run without any issues; be it a Linux, Mac or a Windows environment.