1 instantiation of RouteGroupBuilder
Microsoft.AspNetCore.Routing (1)
Builder\EndpointRouteBuilderExtensions.cs (1)
54return new(endpoints, prefix);
68 references to RouteGroupBuilder
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
34var group = endpoints
CatalogService (2)
CatalogApi.cs (2)
7public static RouteGroupBuilder MapCatalogApi(this IEndpointRouteBuilder routes) 9var group = routes.MapGroup("/api/v1/catalog");
Keycloak.Web (1)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
11var group = endpoints.MapGroup("authentication");
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (2)
177var group = endpointBuilder.MapGroup("/group"); 203var group = endpointBuilder.MapGroup("/group");
Microsoft.AspNetCore.Identity (3)
IdentityApiEndpointRouteBuilderExtensions.cs (3)
53var routeGroup = endpoints.MapGroup(""); 258var accountGroup = routeGroup.MapGroup("/manage").RequireAuthorization(); 468private sealed class IdentityEndpointsConventionBuilder(RouteGroupBuilder inner) : IEndpointConventionBuilder
Microsoft.AspNetCore.Identity.FunctionalTests (1)
MapIdentityApiTests.cs (1)
1303var authGroup = app.MapGroup("/auth").RequireAuthorization();
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
158var group = endpointBuilder.MapGroup("/group"); 184var group = endpointBuilder.MapGroup("/group");
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
213var group = endpointBuilder.MapGroup("/group"); 248var group = endpointBuilder.MapGroup("/group");
Microsoft.AspNetCore.OpenApi.Tests (5)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (5)
102var myGroup = builder.MapGroup("/group"); 131var myGroup = builder.MapGroup("/group"); 163var myGroup = builder.MapGroup("/group"); 204var outerGroup = builder.MapGroup("/outer"); 205var innerGroup = outerGroup.MapGroup("/inner");
Microsoft.AspNetCore.Routing (14)
Builder\EndpointFilterExtensions.cs (3)
79public static RouteGroupBuilder AddEndpointFilter<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors)] TFilterType>(this RouteGroupBuilder builder) 83return builder.AddEndpointFilter<RouteGroupBuilder, TFilterType>();
Builder\EndpointRouteBuilderExtensions.cs (6)
29/// Creates a <see cref="RouteGroupBuilder"/> for defining endpoints all prefixed with the specified <paramref name="prefix"/>. 34/// A <see cref="RouteGroupBuilder"/> that is both an <see cref="IEndpointRouteBuilder"/> and an <see cref="IEndpointConventionBuilder"/>. 37public static RouteGroupBuilder MapGroup(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string prefix) => 41/// Creates a <see cref="RouteGroupBuilder"/> for defining endpoints all prefixed with the specified <paramref name="prefix"/>. 46/// A <see cref="RouteGroupBuilder"/> that is both an <see cref="IEndpointRouteBuilder"/> and an <see cref="IEndpointConventionBuilder"/>. 49public static RouteGroupBuilder MapGroup(this IEndpointRouteBuilder endpoints, RoutePattern prefix)
RouteGroupBuilder.cs (2)
42private readonly RouteGroupBuilder _routeGroupBuilder; 45public GroupEndpointDataSource(RouteGroupBuilder groupRouteBuilder)
RouteGroupContext.cs (2)
22/// Gets all conventions added to ancestor <see cref="RouteGroupBuilder"/> instances returned from <see cref="EndpointRouteBuilderExtensions.MapGroup(IEndpointRouteBuilder, RoutePattern)"/> 29/// Gets all conventions added to ancestor <see cref="RouteGroupBuilder"/> instances returned from <see cref="EndpointRouteBuilderExtensions.MapGroup(IEndpointRouteBuilder, RoutePattern)"/>
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
25var group = builder.MapGroup("");
Microsoft.AspNetCore.Routing.FunctionalTests (4)
MinimalFormTests.cs (3)
306var group = b.MapGroup("/todo").DisableAntiforgery(); 564var g = b.MapGroup("/todos").WithFormMappingOptions(maxCollectionSize: 2); 616var g = b.MapGroup("/todos").WithFormOptions(valueCountLimit: 7);
RouteHandlerTest.cs (1)
79var group = b.MapGroup("");
Microsoft.AspNetCore.Routing.Tests (19)
Builder\GroupTest.cs (14)
26var group = builder.MapGroup(""); 57var group = builder.MapGroup("/{org}"); 91var group = builder.MapGroup("/{org}").MapGroup("/{id}"); 156var outer = builder.MapGroup("/outer"); 157var inner = outer.MapGroup("/inner"); 185var group = builder.MapGroup("/group"); 206var group = builder.MapGroup("/group"); 241var group = builder.MapGroup("/group"); 261var group = builder.MapGroup("/group"); 305var group = builder.MapGroup("/group"); 321var outer = builder.MapGroup("/outer"); 322var inner = outer.MapGroup("/inner"); 339var group = builder.MapGroup("/group"); 367var group = builder.MapGroup("/group");
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (5)
938var outerGroup = builder.MapGroup("/outer"); 942var innerGroup = outerGroup.MapGroup("/inner"); 1018var group = builder.MapGroup("/group"); 1040var outerGroup = builder.MapGroup("/group"); 1041var innerGroup = outerGroup.MapGroup("/");
MinimalSample (3)
Program.cs (3)
23var outer = app.MapGroup("/outer"); 24var inner = outer.MapGroup("/inner"); 55var superNested = inner.MapGroup("/group/{groupName}")
Mvc.RoutingWebSite (2)
StartupForGroups.cs (2)
28var pagesGroup = endpoints.MapGroup("/pages"); 31var controllerGroup = endpoints.MapGroup("/controllers/{org}");
MvcSandbox (1)
Startup.cs (1)
38var group = builder.MapGroup("/group");
OutputCachingSample (1)
Startup.cs (1)
32var blog = app.MapGroup("blog").CacheOutput(x => x.Tag("blog"));
Sample (5)
Program.cs (5)
46var forms = app.MapGroup("forms") 49var schemas = app.MapGroup("schemas-by-ref") 70var v1 = app.MapGroup("v1") 72var v2 = app.MapGroup("v2") 74var responses = app.MapGroup("responses")