You just created a new ASP.NET Core web application using a template. In which file would you typically find the default route configuration?

  • appsettings.json
  • Startup.cs
  • Program.cs
  • Controller.cs
In an ASP.NET Core application, the default route configuration is typically found in the Startup.cs file. This file contains the Configure method where you define the routing for your application, including setting up default routes.
Add your answer
Loading...

Leave a comment

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