72 instantiations of RouteAttribute
Aspire.Dashboard (15)
Components_Pages_ConsoleLogs_razor.g.cs (2)
167[global::Microsoft.AspNetCore.Components.RouteAttribute( 177[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Error_razor.g.cs (1)
177[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Login_razor.g.cs (1)
177[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Metrics_razor.g.cs (4)
178[global::Microsoft.AspNetCore.Components.RouteAttribute( 188[global::Microsoft.AspNetCore.Components.RouteAttribute( 198[global::Microsoft.AspNetCore.Components.RouteAttribute( 208[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_NotFound_razor.g.cs (1)
154[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Resources_razor.g.cs (1)
190[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_StructuredLogs_razor.g.cs (2)
184[global::Microsoft.AspNetCore.Components.RouteAttribute( 194[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_TraceDetail_razor.g.cs (1)
196[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Traces_razor.g.cs (2)
184[global::Microsoft.AspNetCore.Components.RouteAttribute( 194[global::Microsoft.AspNetCore.Components.RouteAttribute(
AzureAIFoundryEndToEnd.WebStory (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
AzureOpenAIEndToEnd.WebStory (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
BasicWebSite (2)
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\RazorComponents_RoutedPage_razor.g.cs (1)
20[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BasicWebSite\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\RazorComponents_Throws_razor.g.cs (1)
20[global::Microsoft.AspNetCore.Components.RouteAttribute(
BlazorServerApp (4)
artifacts\obj\BlazorServerApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Counter_razor.g.cs (1)
68[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorServerApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Error_razor.g.cs (1)
68[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorServerApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_FetchData_razor.g.cs (1)
74[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorServerApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Index_razor.g.cs (1)
68[global::Microsoft.AspNetCore.Components.RouteAttribute(
BlazorUnitedApp (5)
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Counter_razor.g.cs (1)
83[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Error_razor.g.cs (1)
89[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_FetchData_razor.g.cs (1)
89[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_Index_razor.g.cs (1)
88[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\BlazorUnitedApp\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Pages_WebAssemblyComponent_razor.g.cs (1)
89[global::Microsoft.AspNetCore.Components.RouteAttribute(
DevTunnels.WebFrontEnd (3)
Components_Pages_Counter_razor.g.cs (1)
74[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
74[global::Microsoft.AspNetCore.Components.RouteAttribute(
GitHubModelsEndToEnd.WebStory (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
IdentitySample.PasskeyUI (3)
artifacts\obj\IdentitySample.PasskeyUI\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_Authenticated_razor.g.cs (1)
82[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\IdentitySample.PasskeyUI\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_Home_razor.g.cs (1)
86[global::Microsoft.AspNetCore.Components.RouteAttribute(
artifacts\obj\IdentitySample.PasskeyUI\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Components_Pages_NotFound_razor.g.cs (1)
68[global::Microsoft.AspNetCore.Components.RouteAttribute(
Keycloak.Web (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
74[global::Microsoft.AspNetCore.Components.RouteAttribute(
LazyTestContentPackage (1)
artifacts\obj\LazyTestContentPackage\Release\net10.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\RouteableComponentFromPackage_razor.g.cs (1)
20[global::Microsoft.AspNetCore.Components.RouteAttribute(
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
RazorComponentEndpointDataSourceTest.cs (2)
335[Route("/")] 349[Route("/counter")]
Microsoft.AspNetCore.Components.Tests (9)
Routing\RouterTest.cs (5)
526[Route("feb")] 529[Route("jan")] 532[Route("a/{*matchAnything}")] 535[Route("a/b/c")] 538[Route("not-found")]
Routing\RouteTableFactoryTests.cs (4)
104[Route("Test1")] 164[Route("Test2")] 1157[Route("/ComponentWithoutExcludeFromInteractiveRoutingAttribute")] 1160[Route("/ComponentWithExcludeFromInteractiveRoutingAttribute")]
Microsoft.AspNetCore.Components.WebViewE2E.Test (1)
Pages_TestPage_razor.g.cs (1)
56[global::Microsoft.AspNetCore.Components.RouteAttribute(
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
248[Route("/")]
MyFrontend (2)
Components_Pages_Error_razor.g.cs (1)
98[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
100[global::Microsoft.AspNetCore.Components.RouteAttribute(
OpenAIEndToEnd.WebStory (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Publishers.Frontend (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
WaitFor.Frontend (2)
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Wasm.Performance.TestApp (6)
Pages_GridRendering_razor.g.cs (1)
71[global::Microsoft.AspNetCore.Components.RouteAttribute(
Pages_Index_razor.g.cs (1)
65[global::Microsoft.AspNetCore.Components.RouteAttribute(
Pages_Json_razor.g.cs (1)
71[global::Microsoft.AspNetCore.Components.RouteAttribute(
Pages_OrgChart_razor.g.cs (1)
65[global::Microsoft.AspNetCore.Components.RouteAttribute(
Pages_RenderList_razor.g.cs (1)
65[global::Microsoft.AspNetCore.Components.RouteAttribute(
Pages_TimerComponent_razor.g.cs (1)
71[global::Microsoft.AspNetCore.Components.RouteAttribute(
WebFrontEnd (4)
Components_Pages_Counter_razor.g.cs (1)
74[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Error_razor.g.cs (1)
80[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_ExternalServices_razor.g.cs (1)
94[global::Microsoft.AspNetCore.Components.RouteAttribute(
Components_Pages_Home_razor.g.cs (1)
74[global::Microsoft.AspNetCore.Components.RouteAttribute(
11 references to RouteAttribute
Microsoft.AspNetCore.Components (9)
RouteAttribute.cs (1)
15/// Constructs an instance of <see cref="RouteAttribute"/>.
Routing\Router.cs (4)
160var routeAttributes = NotFoundPage.GetCustomAttributes(typeof(RouteAttribute), inherit: true); 164$"does not have a {typeof(RouteAttribute).FullName} applied to it."); 167var routeAttribute = (RouteAttribute)routeAttributes[0];
Routing\RouteTableFactory.cs (4)
77&& type.IsDefined(typeof(RouteAttribute)) 104var routeAttributes = componentType.GetCustomAttributes(typeof(RouteAttribute), inherit: false); 108var attribute = (RouteAttribute)routeAttributes[i];
Microsoft.AspNetCore.Components.Endpoints (2)
Discovery\IRazorComponentApplication.cs (1)
31if (candidate.GetCustomAttributes<RouteAttribute>() is { } routes &&
Discovery\PageCollectionBuilder.cs (1)
89if (attribute is RouteAttribute)