What ConfigureServices() method does in Startup.cs?
Sanwar Ranwa
Select an image from your device to upload
In the Startup class, first, ConfigureServices is called, allowing us to register services that we’ll want to use in our application. Then, the Configure method is called where the request pipeline is set up. After all that, our application is up and running and is ready to handle incoming requests.