ASP.NET Core supports the dependency injection design pattern. The __________ method in the Startup.cs file is used to configure services for this purpose.

  • ConfigureServices
  • Configure
  • AddServices
  • RegisterServices
In ASP.NET Core, the ConfigureServices method in the Startup.cs file is used to configure services, including registering dependencies for dependency injection. This method allows you to configure how various parts of your application should interact and obtain the services they need.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *