37 references to MapControllerRoute
ApplicationModelWebSite (2)
Startup.cs (2)
28endpoints.MapControllerRoute(name: "areaRoute", pattern: "{area:exists}/{controller=Home}/{action=Index}"); 29endpoints.MapControllerRoute(name: "default", pattern: "{controller}/{action}/{id?}");
BasicWebSite (2)
Startup.cs (2)
36endpoints.MapControllerRoute( 41endpoints.MapControllerRoute(
ClaimsTransformation (1)
Startup.cs (1)
61endpoints.MapControllerRoute(
GenericHostWebSite (3)
Startup.cs (3)
38endpoints.MapControllerRoute( 43endpoints.MapControllerRoute("ActionAsMethod", "{controller}/{action}", 46endpoints.MapControllerRoute("PageRoute", "{controller}/{action}/{page}");
HtmlGenerationWebSite (3)
Startup.cs (3)
32endpoints.MapControllerRoute( 36endpoints.MapControllerRoute( 40endpoints.MapControllerRoute(
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (2)
Logging\AcceptanceTests.Routing.cs (2)
43endpoints.MapControllerRoute( 47endpoints.MapControllerRoute(
Microsoft.AspNetCore.Mvc.Core (1)
Builder\ControllerEndpointRouteBuilderExtensions.cs (1)
161return endpoints.MapControllerRoute(name, pattern, defaultsDictionary, constraintsDictionary, dataTokens);
Mvc.RoutingWebSite (18)
Startup.cs (8)
40endpoints.MapControllerRoute( 46endpoints.MapControllerRoute( 53endpoints.MapControllerRoute( 59endpoints.MapControllerRoute( 65endpoints.MapControllerRoute( 78endpoints.MapControllerRoute( 84endpoints.MapControllerRoute( 89endpoints.MapControllerRoute(
StartupForDynamic.cs (1)
37endpoints.MapControllerRoute("link", "link_generation/{controller}/{action}/{id?}");
StartupForDynamicOrder.cs (2)
56endpoints.MapControllerRoute(null, "{**conventional-dynamic-order-before:regex(^((?!conventional\\-dynamic\\-order\\-after).)*$)}", new { controller = "DynamicOrder", action = "Index" }); 58endpoints.MapControllerRoute(null, "conventional-dynamic-order-after", new { controller = "DynamicOrder", action = "Index" });
StartupForFallback.cs (1)
34endpoints.MapControllerRoute("admin", "link_generation/{area}/{controller}/{action}/{id?}");
StartupForGroups.cs (1)
32controllerGroup.MapControllerRoute(name: "default", pattern: "{controller}/{action}/{id?}");
StartupForLinkGenerator.cs (1)
45endpoints.MapControllerRoute("routewithnomvcparameters", "/routewithnomvcparameters/{custom}");
StartupForRouteGroupsWithMetadata.cs (1)
42.MapControllerRoute("route1", "/metadata", new
StartupRoutingDifferentBranches.cs (3)
47endpoints.MapControllerRoute(null, "literal/{controller}/{action}/{subdir}"); 58endpoints.MapControllerRoute(null, "{controller}/{action}/{common}/literal"); 68endpoints.MapControllerRoute(null, "{controller}/literal/{action}/{default}");
MvcFormSample (1)
Program.cs (1)
21app.MapControllerRoute(
MvcSandbox (1)
Startup.cs (1)
28endpoints.MapControllerRoute(
PathSchemeSelection (2)
Startup.cs (2)
76endpoints.MapControllerRoute( 79endpoints.MapControllerRoute(
RazorPagesWebSite (1)
StartupWithBasePath.cs (1)
45endpoints.MapControllerRoute("areaRoute", "{area:exists}/{controller=Home}/{action=Index}");