Articles → ASP.NET CORE → Startup.Cs File In Asp.Net Core

Startup.Cs File In Asp.Net Core






Purpose




  1. Register the app service in the IOC container.
  2. Configure the middleware.

But, What Are App Services?






Picture Showing how to register services in ConfigureServices method of startup.cs
Click to Enlarge


What Is IOC?




Picture Showing how the dependency injection is implemented in ConfigureServices method of startup.cs
Click to Enlarge


What Is A Middleware?




Picture Showing the diagrammatic representation of how middleware works in asp.net core
Click to Enlarge



Picture Showing how middlewares are added in the Configure method of startup.cs
Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, May 31, 2021

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250