diff --git a/aspnetcore/mvc/controllers/routing.md b/aspnetcore/mvc/controllers/routing.md index 9bdf38a301..c80b23fc92 100644 --- a/aspnetcore/mvc/controllers/routing.md +++ b/aspnetcore/mvc/controllers/routing.md @@ -87,10 +87,11 @@ Replaces: endpoints.MapControllerRoute("default", "{controller=Home}/{action=Index}/{id?}"); ``` -Routing is configured using the and middleware. To use controllers: - -* Call inside `UseEndpoints` to map [attribute routed](#ar) controllers. -* Call or , to map [conventionally routed](#cr) controllers. +> [!IMPORTANT] +> Routing is configured using the and middleware. To use controllers: +> +> * Call inside `UseEndpoints` to map [attribute routed](#ar) controllers. +> * Call or , to map [conventionally routed](#cr) controllers.