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.
Interviews2 answers
What ConfigureServices() method does in Startup.cs?
2 Answers
Rajeev KumarPosted Jun 27, 2023, 6:55 AM EDT
Can optionally include a ConfigureServices method to configure the app's services.
Pappu KumarPosted Oct 4, 2018, 8:24 AM EDT


