4 references to MapRoute
Benchmarks (1)
StartupUsingRouter.cs (1)
21
routes.
MapRoute
("/plaintext", (httpContext) =>
Microsoft.AspNetCore.Routing (1)
RequestDelegateRouteBuilderExtensions.cs (1)
51
return builder.
MapRoute
(template, nested.Build());
Microsoft.AspNetCore.Routing.Tests (2)
RequestDelegateRouteBuilderExtensionsTest.cs (2)
23
{ b => { b.
MapRoute
("api/{id}", NullHandler); }, null },
71
{ b => { b.
MapRoute
("api/{id}/extra", NullHandler); }, null },