10 references to UseRouter
Benchmarks (1)
StartupUsingRouter.cs (1)
19
app.
UseRouter
(routes =>
Microsoft.AspNetCore (1)
WebHost.cs (1)
67
return StartWith(url, services => services.AddRouting(), appBuilder => appBuilder.
UseRouter
(routeBuilder), applicationName: startupAssemblyName);
Microsoft.AspNetCore.Localization.Routing.Tests (2)
RouteDataRequestCultureProviderTest.cs (2)
38
app.
UseRouter
(routes =>
157
app.
UseRouter
(routes =>
Microsoft.AspNetCore.Routing.FunctionalTests (1)
WebHostBuilderExtensionsTest.cs (1)
85
app.
UseRouter
(routeBuilder);
Microsoft.AspNetCore.Routing.Tests (2)
Builder\RoutingBuilderExtensionsTest.cs (2)
59
var ex = Assert.Throws<InvalidOperationException>(() => app.
UseRouter
(b => { }));
108
app.
UseRouter
(b =>
RoutingSandbox (1)
UseRouterStartup.cs (1)
20
app.
UseRouter
(routes =>
RoutingWebSite (2)
UseRouterStartup.cs (2)
20
app.
UseRouter
(routes =>
43
app.
UseRouter
(routes =>