The _______ method is used to add and configure the necessary middleware for routing in ASP.NET Core.

  • UseRouting
  • AddRouting
  • ConfigureRouting
  • MapRouting
The correct method is AddRouting. This method is used to add and configure the necessary middleware for routing in ASP.NET Core. It's a fundamental step in setting up routing for your web application.
Add your answer
Loading...

Leave a comment

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