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