6 references to MapMiddlewareRoute
Microsoft.AspNetCore.Localization.Routing.Tests (2)
RouteDataRequestCultureProviderTest.cs (2)
40
routes.
MapMiddlewareRoute
(routeTemplate, fork =>
159
routes.
MapMiddlewareRoute
(routeTemplate, fork =>
Microsoft.AspNetCore.Routing.Tests (2)
RequestDelegateRouteBuilderExtensionsTest.cs (2)
24
{ b => { b.
MapMiddlewareRoute
("api/{id}", app => { }); }, null },
72
{ b => { b.
MapMiddlewareRoute
("api/{id}/extra", app => { }); }, null },
RoutingSandbox (1)
UseRouterStartup.cs (1)
29
.
MapMiddlewareRoute
("api/middleware", (appBuilder) => appBuilder.Run(httpContext => httpContext.Response.WriteAsync("Middleware!")))
RoutingWebSite (1)
UseRouterStartup.cs (1)
29
.
MapMiddlewareRoute
("api/middleware", (appBuilder) => appBuilder.Run(httpContext => httpContext.Response.WriteAsync("Middleware!")))