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