43 references to MapGroup
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
35.MapGroup("/v1")
CatalogService (1)
CatalogApi.cs (1)
9var group = routes.MapGroup("/api/v1/catalog");
IdentitySample.ApiEndpoints (1)
Program.cs (1)
27app.MapGroup("/identity").MapIdentityApi<IdentityUser>();
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)
37/// Call <see cref="EndpointRouteBuilderExtensions.MapGroup(IEndpointRouteBuilder, string)"/> to add a prefix to all the endpoints. 53var routeGroup = endpoints.MapGroup(""); 258var accountGroup = routeGroup.MapGroup("/manage").RequireAuthorization();
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
602app.MapGroup("/identity2").MapIdentityApi<ApplicationUser>(); 649app.MapGroup("/identity2").MapIdentityApi<IdentityUser>(); 1301app.MapGroup("/identity").MapIdentityApi<TUser>(); 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 (1)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
205var innerGroup = outerGroup.MapGroup("/inner");
Microsoft.AspNetCore.Routing (1)
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 (6)
Builder\GroupTest.cs (4)
91var group = builder.MapGroup("/{org}").MapGroup("/{id}"); 125builder.MapGroup("/{ID}").MapGroup("/{id}").MapGet("/", () => { }); 157var inner = outer.MapGroup("/inner"); 322var inner = outer.MapGroup("/inner");
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (2)
942var innerGroup = outerGroup.MapGroup("/inner"); 1041var innerGroup = outerGroup.MapGroup("/");
MinimalSample (4)
Program.cs (4)
23var outer = app.MapGroup("/outer"); 24var inner = outer.MapGroup("/inner"); 55var superNested = inner.MapGroup("/group/{groupName}") 56.MapGroup("/nested/{nestedName}")
Mvc.RoutingWebSite (3)
StartupForGroups.cs (2)
28var pagesGroup = endpoints.MapGroup("/pages"); 31var controllerGroup = endpoints.MapGroup("/controllers/{org}");
StartupForRouteGroupsWithMetadata.cs (1)
40builder.MapGroup("/group1")
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)
45var forms = app.MapGroup("forms") 48var schemas = app.MapGroup("schemas-by-ref") 69var v1 = app.MapGroup("v1") 71var v2 = app.MapGroup("v2") 73var responses = app.MapGroup("responses")