43 references to MapGroup
Aspire.Dashboard (1)
Otlp\Http\OtlpHttpEndpointsBuilder.cs (1)
35
.
MapGroup
("/v1")
CatalogService (1)
CatalogApi.cs (1)
9
var group = routes.
MapGroup
("/api/v1/catalog");
IdentitySample.ApiEndpoints (1)
Program.cs (1)
27
app.
MapGroup
("/identity").MapIdentityApi<IdentityUser>();
Keycloak.Web (1)
LoginLogoutEndpointRouteBuilderExtensions.cs (1)
11
var group = endpoints.
MapGroup
("authentication");
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (2)
177
var group = endpointBuilder.
MapGroup
("/group");
203
var 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.
53
var routeGroup = endpoints.
MapGroup
("");
258
var accountGroup = routeGroup.
MapGroup
("/manage").RequireAuthorization();
Microsoft.AspNetCore.Identity.FunctionalTests (4)
MapIdentityApiTests.cs (4)
602
app.
MapGroup
("/identity2").MapIdentityApi<ApplicationUser>();
649
app.
MapGroup
("/identity2").MapIdentityApi<IdentityUser>();
1301
app.
MapGroup
("/identity").MapIdentityApi<TUser>();
1303
var authGroup = app.
MapGroup
("/auth").RequireAuthorization();
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
158
var group = endpointBuilder.
MapGroup
("/group");
184
var group = endpointBuilder.
MapGroup
("/group");
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (2)
213
var group = endpointBuilder.
MapGroup
("/group");
248
var group = endpointBuilder.
MapGroup
("/group");
Microsoft.AspNetCore.OpenApi.Tests (1)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
205
var innerGroup = outerGroup.
MapGroup
("/inner");
Microsoft.AspNetCore.Routing (1)
ShortCircuit\RouteShortCircuitEndpointRouteBuilderExtensions.cs (1)
25
var group = builder.
MapGroup
("");
Microsoft.AspNetCore.Routing.FunctionalTests (4)
MinimalFormTests.cs (3)
306
var group = b.
MapGroup
("/todo").DisableAntiforgery();
564
var g = b.
MapGroup
("/todos").WithFormMappingOptions(maxCollectionSize: 2);
616
var g = b.
MapGroup
("/todos").WithFormOptions(valueCountLimit: 7);
RouteHandlerTest.cs (1)
79
var group = b.
MapGroup
("");
Microsoft.AspNetCore.Routing.Tests (6)
Builder\GroupTest.cs (4)
91
var group = builder.MapGroup("/{org}").
MapGroup
("/{id}");
125
builder.MapGroup("/{ID}").
MapGroup
("/{id}").MapGet("/", () => { });
157
var inner = outer.
MapGroup
("/inner");
322
var inner = outer.
MapGroup
("/inner");
Builder\RouteHandlerEndpointRouteBuilderExtensionsTest.cs (2)
942
var innerGroup = outerGroup.
MapGroup
("/inner");
1041
var innerGroup = outerGroup.
MapGroup
("/");
MinimalSample (4)
Program.cs (4)
23
var outer = app.
MapGroup
("/outer");
24
var inner = outer.
MapGroup
("/inner");
55
var superNested = inner.
MapGroup
("/group/{groupName}")
56
.
MapGroup
("/nested/{nestedName}")
Mvc.RoutingWebSite (3)
StartupForGroups.cs (2)
28
var pagesGroup = endpoints.
MapGroup
("/pages");
31
var controllerGroup = endpoints.
MapGroup
("/controllers/{org}");
StartupForRouteGroupsWithMetadata.cs (1)
40
builder.
MapGroup
("/group1")
MvcSandbox (1)
Startup.cs (1)
38
var group = builder.
MapGroup
("/group");
OutputCachingSample (1)
Startup.cs (1)
32
var blog = app.
MapGroup
("blog").CacheOutput(x => x.Tag("blog"));
Sample (5)
Program.cs (5)
46
var forms = app.
MapGroup
("forms")
49
var schemas = app.
MapGroup
("schemas-by-ref")
70
var v1 = app.
MapGroup
("v1")
72
var v2 = app.
MapGroup
("v2")
74
var responses = app.
MapGroup
("responses")