Sanwar Ranwa
What ConfigureServices() method does in Startup.cs?
By Sanwar Ranwa in .NET on Jun 18 2018
  • Rajeev Kumar
    Jun, 2023 27

    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.

    • 0
  • Pappu Kumar
    Oct, 2018 4

    Can optionally include a ConfigureServices method to configure the app's services.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS