213 references to UseRouting
ApiExplorerWebSite (1)
Startup.cs (1)
39app.UseRouting();
ApplicationModelWebSite (1)
Startup.cs (1)
25app.UseRouting();
Aspire.Dashboard.Tests (1)
Integration\MockOpenIdAuthority.cs (1)
37app.UseRouting();
BasicWebSite (9)
Startup.cs (1)
33app.UseRouting();
StartupRequestLimitSize.cs (1)
34app.UseRouting();
StartupWhereReadingRequestBodyThrows.cs (1)
27app.UseRouting();
StartupWithCookieTempDataProviderAndCookieConsent.cs (1)
26app.UseRouting();
StartupWithCustomInvalidModelStateFactory.cs (1)
43app.UseRouting();
StartupWithCustomValueProvider.cs (1)
23app.UseRouting();
StartupWithNewtonsoftJson.cs (1)
19app.UseRouting();
StartupWithSessionTempDataProvider.cs (1)
24app.UseRouting();
StartupWithSystemTextJson.cs (1)
20app.UseRouting();
Benchmarks (1)
StartupUsingEndpointRouting.cs (1)
20app.UseRouting();
blazor-devserver (1)
Server\Startup.cs (1)
56app.UseRouting();
BlazorServerApp (1)
Startup.cs (1)
43app.UseRouting();
BrowserTelemetry.Web (1)
Program.cs (1)
23app.UseRouting();
Certificate.Optional.Sample (1)
Startup.cs (1)
40app.UseRouting();
Certificate.Sample (1)
Startup.cs (1)
43app.UseRouting();
ClaimsTransformation (1)
Startup.cs (1)
54app.UseRouting();
ControllersFromServicesWebSite (1)
Startup.cs (1)
55app.UseRouting();
Cookies (1)
Startup.cs (1)
61app.UseRouting();
CorsWebSite (1)
Startup.cs (1)
73app.UseRouting();
CustomAuthorizationFailureResponse (1)
Startup.cs (1)
56app.UseRouting();
CustomPolicyProvider (1)
Startup.cs (1)
39app.UseRouting();
DynamicSchemes (1)
Startup.cs (1)
48app.UseRouting();
ErrorPageMiddlewareWebSite (1)
Startup.cs (1)
18app.UseRouting();
FilesWebSite (1)
Startup.cs (1)
17app.UseRouting();
FormatterWebSite (4)
Startup.cs (1)
27app.UseRouting();
StartupWithComplexParentValidation.cs (1)
17app.UseRouting();
StartupWithJsonInputFormatter.cs (1)
22app.UseRouting();
StartupWithRespectBrowserAcceptHeader.cs (1)
19app.UseRouting();
GenericHostWebSite (1)
Startup.cs (1)
35app.UseRouting();
HeaderPropagationSample (1)
Startup.cs (1)
59app.UseRouting();
HostedBlazorWebassemblyApp.Server (1)
Startup.cs (1)
53app.UseRouting();
HtmlGenerationWebSite (1)
Startup.cs (1)
29app.UseRouting();
HttpLogging.Sample (1)
Startup.cs (1)
25app.UseRouting();
HttpStress (1)
Program.cs (1)
419app.UseRouting();
Identity.DefaultUI.WebSite (2)
NoIdentityStartup.cs (1)
58app.UseRouting();
StartupBase.cs (1)
73app.UseRouting();
Identity.ExternalClaims (1)
Startup.cs (1)
90app.UseRouting();
IdentitySample.DefaultUI (1)
Startup.cs (1)
67app.UseRouting();
IdentitySample.Mvc (1)
Startup.cs (1)
72app.UseRouting();
IntegrationTestsWebsite (1)
Startup.cs (1)
31app.UseRouting();
InteropWebsite (1)
Startup.cs (1)
48app.UseRouting();
JwtSample (1)
Startup.cs (1)
64app.UseRouting();
Logging.W3C.Sample (1)
Startup.cs (1)
28app.UseRouting();
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
419app.UseRouting();
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
EventTests.cs (1)
425app.UseRouting();
NegotiateHandlerTests.cs (1)
396app.UseRouting();
Microsoft.AspNetCore.Components.Server.Tests (4)
ComponentEndpointRouteBuilderExtensionsTest.cs (4)
27.UseRouting() 46.UseRouting() 66.UseRouting() 105.UseRouting()
Microsoft.AspNetCore.Diagnostics.HealthChecks.Tests (3)
HealthCheckEndpointRouteBuilderExtensionsTest.cs (3)
26app.UseRouting(); 58app.UseRouting(); 96app.UseRouting();
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Latency\AcceptanceTests.cs (1)
43app.UseRouting();
Latency\ChecpointAcceptanceTests.cs (2)
56app.UseRouting(); 97app.UseRouting();
Logging\AcceptanceTests.cs (1)
55app.UseRouting();
Logging\AcceptanceTests.Mvc.cs (1)
46.UseRouting()
Logging\AcceptanceTests.Routing.cs (1)
37.UseRouting()
Microsoft.AspNetCore.Diagnostics.Tests (10)
DeveloperExceptionPageMiddlewareTest.cs (2)
101app.UseRouting(); 160app.UseRouting();
ExceptionHandlerTest.cs (4)
797app.UseRouting(); 848app.UseRouting(); 903app.UseRouting(); 954app.UseRouting();
StatusCodeMiddlewareTest.cs (4)
254app.UseRouting(); 290app.UseRouting(); 328app.UseRouting(); 366app.UseRouting();
Microsoft.AspNetCore.Grpc.Swagger.Tests (3)
GrpcSwaggerServiceExtensionsTests.cs (2)
34app.UseRouting(); 70app.UseRouting();
Infrastructure\OpenApiTestHelpers.cs (1)
34app.UseRouting();
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
UsePathBaseExtensionsTests.cs (2)
148app.UseRouting(); 175app.UseRouting();
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (2)
3525app.UseRouting(); 3669app.UseRouting();
MapConnectionHandlerTests.cs (2)
497app.UseRouting(); 519app.UseRouting();
Microsoft.AspNetCore.HttpLogging.Tests (2)
HttpLoggingMiddlewareTests.cs (2)
1921app.UseRouting(); 2027app.UseRouting();
Microsoft.AspNetCore.Mvc.FunctionalTests (1)
AntiforgeryMiddlewareTest.cs (1)
108app.UseRouting();
Microsoft.AspNetCore.Rewrite.Tests (6)
MiddlewareTests.cs (6)
654app.UseRouting(); 851app.UseRouting(); 890app.UseRouting(); 925app.UseRouting(); 962app.UseRouting(); 999app.UseRouting();
Microsoft.AspNetCore.Routing (3)
Builder\EndpointRoutingApplicationBuilderExtensions.cs (3)
27/// A call to <see cref="UseRouting(IApplicationBuilder)"/> must be followed by a call to 60builder.Properties.TryAdd(UseRoutingKey, (object)UseRouting); 77/// <see cref="UseRouting(IApplicationBuilder)"/> for the same <see cref="IApplicationBuilder"/>
Microsoft.AspNetCore.Routing.FunctionalTests (29)
EndpointRoutingIntegrationTest.cs (10)
39app.UseRouting(); 71app.UseRouting(); 103app.UseRouting(); 135app.UseRouting(); 166app.UseRouting(); 197app.UseRouting(); 227app.UseRouting(); 258app.UseRouting(); 290app.UseRouting(); 327app.UseRouting();
MinimalFormTests.cs (15)
32app.UseRouting(); 82app.UseRouting(); 142app.UseRouting(); 182app.UseRouting(); 227app.UseRouting(); 258app.UseRouting(); 303app.UseRouting(); 400app.UseRouting(); 448app.UseRouting(); 511app.UseRouting(); 560app.UseRouting(); 612app.UseRouting(); 664app.UseRouting(); 710app.UseRouting(); 737app.UseRouting();
RouteHandlerTest.cs (2)
30app.UseRouting(); 74app.UseRouting();
ShortCircuitTests.cs (2)
24app.UseRouting(); 67app.UseRouting();
Microsoft.AspNetCore.Routing.Tests (12)
Builder\EndpointRoutingApplicationBuilderExtensionsTest.cs (11)
28var ex = Assert.Throws<InvalidOperationException>(() => app.UseRouting()); 63app.UseRouting(); 90app.UseRouting(); 137app.UseRouting(); 158app.UseRouting(); 190app.UseRouting(); 197app.UseRouting(); 251app.UseRouting(); 255b.UseRouting(); 310app.UseRouting(); 337app.UseRouting();
EndpointRoutingMiddlewareTest.cs (1)
411applicationBuilder.UseRouting();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Startup.cs (1)
77app.UseRouting();
VersionStartup.cs (1)
40app.UseRouting();
Microsoft.AspNetCore.SignalR.Client.Tests (2)
TestServerTests.cs (2)
29app.UseRouting(); 81app.UseRouting();
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Startup.cs (1)
32app.UseRouting();
Microsoft.AspNetCore.SignalR.Tests (4)
MapSignalRTests.cs (2)
52app.UseRouting(); 408app.UseRouting();
NativeAotTests.cs (1)
183app.UseRouting();
Startup.cs (1)
84app.UseRouting();
Microsoft.AspNetCore.StaticAssets.Tests (9)
StaticAssetsIntegrationTests.cs (9)
50app.UseRouting(); 100app.UseRouting(); 152app.UseRouting(); 203app.UseRouting(); 260app.UseRouting(); 317app.UseRouting(); 372app.UseRouting(); 425app.UseRouting(); 608app.UseRouting();
Microsoft.AspNetCore.StaticFiles.FunctionalTests (3)
FallbackStaticFileTest.cs (2)
38app.UseRouting(); 90app.UseRouting();
StaticFileMiddlewareTests.cs (1)
58app.UseRouting();
Microsoft.AspNetCore.StaticFiles.Tests (6)
DefaultFilesMiddlewareTests.cs (2)
88app.UseRouting(); 131app.UseRouting();
DirectoryBrowserMiddlewareTests.cs (2)
105app.UseRouting(); 146app.UseRouting();
StaticFileMiddlewareTests.cs (2)
344app.UseRouting(); 392app.UseRouting();
Microsoft.AspNetCore.Tests (9)
WebApplicationTests.cs (9)
1592app.UseRouting(); 1726app.UseRouting(); 1862app.UseRouting(); 1889app.UseRouting(); 1906app.UseRouting(); 1952app.UseRouting(); 1970newBuilder.UseRouting(); 2823app.UseRouting(); 3162app.UseRouting();
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\GrpcResilienceTests.cs (1)
34builder.UseRouting();
Mvc.RoutingWebSite (12)
Startup.cs (1)
37app.UseRouting();
StartupForDynamic.cs (1)
29app.UseRouting();
StartupForDynamicAndRazorPages.cs (1)
24app.UseRouting();
StartupForDynamicOrder.cs (1)
45app.UseRouting();
StartupForEndpointFilters.cs (1)
25app.UseRouting();
StartupForFallback.cs (1)
27app.UseRouting();
StartupForGroups.cs (1)
25app.UseRouting();
StartupForLinkGenerator.cs (1)
39app.UseRouting();
StartupForRouteGroupsWithMetadata.cs (1)
34app.UseRouting();
StartupRoutingDifferentBranches.cs (3)
42branch.UseRouting(); 54branch.UseRouting(); 63app.UseRouting();
MvcSandbox (1)
Startup.cs (1)
21app.UseRouting();
Negotiate.Client (1)
Startup.cs (1)
31app.UseRouting();
Negotiate.Server (1)
Startup.cs (1)
39app.UseRouting();
PathSchemeSelection (1)
Startup.cs (1)
69app.UseRouting();
RazorBuildWebSite (2)
Startup.cs (1)
19app.UseRouting();
StartupWithHostingStartup.cs (1)
26app.UseRouting();
RazorPagesWebSite (3)
Startup.cs (1)
23app.UseRouting();
StartupWithBasePath.cs (1)
38app.UseRouting();
StartupWithClientValidationDisabled.cs (1)
26app.UseRouting();
RazorWebSite (2)
Startup.cs (1)
44app.UseRouting();
StartupDataAnnotations.cs (1)
32app.UseRouting();
RoutingSandbox (1)
UseEndpointRoutingStartup.cs (1)
26app.UseRouting();
RoutingWebSite (3)
MapFallbackStartup.cs (1)
15app.UseRouting();
UseEndpointRoutingStartup.cs (2)
26app.UseRouting(); 158app.UseRouting();
Sandbox (1)
Startup.cs (1)
42app.UseRouting();
SecurityWebSite (4)
Startup.cs (1)
30app.UseRouting();
StartupWithGlobalAuthFilter.cs (1)
40app.UseRouting();
StartupWithGlobalDenyAnonymousFilter.cs (1)
32app.UseRouting();
StartupWithRequireAuth.cs (1)
28app.UseRouting();
SignalR.Client.FunctionalTestApp (1)
Startup.cs (1)
214app.UseRouting();
SignalRSamples (1)
Startup.cs (1)
36app.UseRouting();
SignalRWeb (1)
Program.cs (1)
20app.UseRouting();
SimpleWebSite (1)
Startup.cs (1)
23app.UseRouting();
SocialWeather (1)
Startup.cs (1)
31app.UseRouting();
StaticFilesAuth (1)
Startup.cs (1)
101app.UseRouting();
TagHelpersWebSite (1)
Startup.cs (1)
16app.UseRouting();
VersioningWebSite (1)
Startup.cs (1)
22app.UseRouting();
WebPubSubWeb (1)
Program.cs (1)
27app.UseRouting();
XmlFormattersWebSite (1)
Startup.cs (1)
103app.UseRouting();