You've been asked to modify the configurations that get loaded during the startup of your ASP.NET Core application. Which file should you primarily focus on?

  • Startup.cs
  • appsettings.json
  • Program.cs
  • HomeController.cs
In an ASP.NET Core application, the Startup.cs file is where you primarily configure the application's services, middleware pipeline, and other startup-related settings. This is where you can modify how the application behaves during startup.
Add your answer
Loading...

Leave a comment

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