5 implementations of IEndpointRouteBuilder
Microsoft.AspNetCore (1)
Microsoft.AspNetCore.Components.Server (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Routing (2)
319 references to IEndpointRouteBuilder
Aspire.Dashboard (6)
CatalogService (1)
Keycloak.Web (1)
Microsoft.AspNetCore (3)
Microsoft.AspNetCore.Components.Endpoints (14)
Microsoft.AspNetCore.Components.Server (9)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Diagnostics.HealthChecks (8)
Microsoft.AspNetCore.Http.Connections (9)
Microsoft.AspNetCore.Identity (18)
_generated\0\GeneratedRouteBuilderExtensions.g.cs (11)
64this IEndpointRouteBuilder endpoints,
183this IEndpointRouteBuilder endpoints,
369this IEndpointRouteBuilder endpoints,
485this IEndpointRouteBuilder endpoints,
631this IEndpointRouteBuilder endpoints,
750this IEndpointRouteBuilder endpoints,
866this IEndpointRouteBuilder endpoints,
982this IEndpointRouteBuilder endpoints,
1101this IEndpointRouteBuilder endpoints,
1203this IEndpointRouteBuilder endpoints,
1326this IEndpointRouteBuilder routes,
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
Microsoft.AspNetCore.Mvc.Core (54)
Builder\ControllerEndpointRouteBuilderExtensions.cs (50)
16/// Contains extension methods for using Controllers with <see cref="IEndpointRouteBuilder"/>.
23/// Adds endpoints for controller actions to the <see cref="IEndpointRouteBuilder"/> without specifying any routes.
25/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>
27public static ControllerActionEndpointConventionBuilder MapControllers(this IEndpointRouteBuilder endpoints)
43/// Adds endpoints for controller actions to the <see cref="IEndpointRouteBuilder"/> and adds the default route
46/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>
50public static ControllerActionEndpointConventionBuilder MapDefaultControllerRoute(this IEndpointRouteBuilder endpoints)
71/// Adds endpoints for controller actions to the <see cref="IEndpointRouteBuilder"/> and specifies a route
75/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
94this IEndpointRouteBuilder endpoints,
120/// Adds endpoints for controller actions to the <see cref="IEndpointRouteBuilder"/> and specifies a route
124/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
144this IEndpointRouteBuilder endpoints,
165/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
169/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
174/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string)"/> is intended to handle cases where URL path of
180/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string)"/> registers an endpoint using the pattern
184/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string)"/> does not re-execute routing, and will
189/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string)"/> does not attempt to disambiguate between
195this IEndpointRouteBuilder endpoints,
223/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
227/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
233/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string, string)"/> is intended to handle cases
246/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string, string)"/> does not re-execute routing, and will
251/// <see cref="MapFallbackToController(IEndpointRouteBuilder, string, string, string)"/> does not attempt to disambiguate between
257this IEndpointRouteBuilder endpoints,
287/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
291/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
297/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string)"/> is intended to handle cases where URL path of
303/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string)"/> registers an endpoint using the pattern
307/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string)"/> does not re-execute routing, and will
312/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string)"/> does not attempt to disambiguate between
318this IEndpointRouteBuilder endpoints,
347/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
351/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
358/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string, string)"/> is intended to handle
371/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string, string)"/> does not re-execute routing, and will
376/// <see cref="MapFallbackToAreaController(IEndpointRouteBuilder, string, string, string, string)"/> does not attempt to disambiguate between
382this IEndpointRouteBuilder endpoints,
413/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will
416/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
429public static void MapDynamicControllerRoute<TTransformer>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern)
438/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will
441/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
456public static void MapDynamicControllerRoute<TTransformer>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, object? state)
472/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will
475/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
491public static void MapDynamicControllerRoute<TTransformer>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, object state, int order)
516private static void EnsureControllerServices(IEndpointRouteBuilder endpoints)
528private static ControllerActionEndpointDataSource GetOrCreateDataSource(IEndpointRouteBuilder endpoints)
Microsoft.AspNetCore.Mvc.RazorPages (39)
Builder\RazorPagesEndpointRouteBuilderExtensions.cs (37)
16/// Contains extension methods for using Razor Pages with <see cref="IEndpointRouteBuilder"/>.
23/// Adds endpoints for Razor Pages to the <see cref="IEndpointRouteBuilder"/>.
25/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>
27public static PageActionEndpointConventionBuilder MapRazorPages(this IEndpointRouteBuilder endpoints)
42/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
46/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
50/// <see cref="MapFallbackToPage(IEndpointRouteBuilder, string)"/> is intended to handle cases where URL path of
56/// <see cref="MapFallbackToPage(IEndpointRouteBuilder, string)"/> registers an endpoint using the pattern
60/// <see cref="MapFallbackToPage(IEndpointRouteBuilder, string)"/> does not re-execute routing, and will
65public static IEndpointConventionBuilder MapFallbackToPage(this IEndpointRouteBuilder endpoints, string page)
92/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
96/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
101/// <see cref="MapFallbackToPage(IEndpointRouteBuilder, string, string)"/> is intended to handle cases where URL path of
114/// <see cref="MapFallbackToPage(IEndpointRouteBuilder, string, string)"/> does not re-execute routing, and will
120this IEndpointRouteBuilder endpoints,
150/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
154/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
159/// <see cref="MapFallbackToAreaPage(IEndpointRouteBuilder, string, string)"/> is intended to handle cases where URL path of
165/// <see cref="MapFallbackToAreaPage(IEndpointRouteBuilder, string, string)"/> registers an endpoint using the pattern
169/// <see cref="MapFallbackToAreaPage(IEndpointRouteBuilder, string, string)"/> does not re-execute routing, and will
175this IEndpointRouteBuilder endpoints,
204/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
208/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
214/// <see cref="MapFallbackToAreaPage(IEndpointRouteBuilder, string, string, string)"/> is intended to handle cases where URL path of
227/// <see cref="MapFallbackToAreaPage(IEndpointRouteBuilder, string, string, string)"/> does not re-execute routing, and will
233this IEndpointRouteBuilder endpoints,
264/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will
267/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
280public static void MapDynamicPageRoute<TTransformer>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern)
287/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will
290/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
304public static void MapDynamicPageRoute<TTransformer>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, object? state)
320/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will
323/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
338public static void MapDynamicPageRoute<TTransformer>(this IEndpointRouteBuilder endpoints, [StringSyntax("Route")] string pattern, object state, int order)
362private static void EnsureRazorPagesServices(IEndpointRouteBuilder endpoints)
374private static PageActionEndpointDataSource GetOrCreateDataSource(IEndpointRouteBuilder endpoints)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.OpenApi (6)
Microsoft.AspNetCore.Routing (109)
Builder\EndpointRouteBuilderExtensions.cs (67)
14/// Provides extension methods for <see cref="IEndpointRouteBuilder"/> to add endpoints.
31/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the group to.</param>
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) =>
43/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the group to.</param>
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)
58/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP GET requests
61/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
66this IEndpointRouteBuilder endpoints,
74/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP POST requests
77/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
82this IEndpointRouteBuilder endpoints,
90/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP PUT requests
93/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
98this IEndpointRouteBuilder endpoints,
106/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP DELETE requests
109/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
114this IEndpointRouteBuilder endpoints,
122/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP PATCH requests
125/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
130this IEndpointRouteBuilder endpoints,
138/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests
141/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
147this IEndpointRouteBuilder endpoints,
158/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests
161/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
166this IEndpointRouteBuilder endpoints,
174/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests
177/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
182this IEndpointRouteBuilder endpoints,
190this IEndpointRouteBuilder endpoints,
221/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP GET requests
224/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
231this IEndpointRouteBuilder endpoints,
239/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP POST requests
242/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
249this IEndpointRouteBuilder endpoints,
257/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP PUT requests
260/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
267this IEndpointRouteBuilder endpoints,
275/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP DELETE requests
278/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
285this IEndpointRouteBuilder endpoints,
293/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP PATCH requests
296/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
303this IEndpointRouteBuilder endpoints,
311/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests
314/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
322this IEndpointRouteBuilder endpoints,
332/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests
335/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
342this IEndpointRouteBuilder endpoints,
350/// Adds a <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that matches HTTP requests
353/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
360this IEndpointRouteBuilder endpoints,
368/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
371/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
376/// <see cref="MapFallback(IEndpointRouteBuilder, Delegate)"/> is intended to handle cases where URL path of
382/// <see cref="MapFallback(IEndpointRouteBuilder, Delegate)"/> registers an endpoint using the pattern
388public static RouteHandlerBuilder MapFallback(this IEndpointRouteBuilder endpoints, Delegate handler)
394/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
397/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/> to add the route to.</param>
403/// <see cref="MapFallback(IEndpointRouteBuilder, string, Delegate)"/> is intended to handle cases where no
417this IEndpointRouteBuilder endpoints,
427this IEndpointRouteBuilder endpoints,
442internal static RouteEndpointDataSource GetOrAddRouteEndpointDataSource(this IEndpointRouteBuilder endpoints)
Microsoft.AspNetCore.SignalR (5)
Microsoft.AspNetCore.StaticAssets (9)
Microsoft.AspNetCore.StaticFiles (23)
StaticFilesEndpointRouteBuilderExtensions.cs (23)
23/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
27/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>
29/// <returns>The <see cref="IEndpointRouteBuilder"/></returns>
32/// <see cref="MapFallbackToFile(IEndpointRouteBuilder, string)"/> is intended to handle cases where URL path of
41/// <see cref="MapFallbackToFile(IEndpointRouteBuilder, string)"/> registers an endpoint using the pattern
48this IEndpointRouteBuilder endpoints,
60/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
64/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>
67/// <returns>The <see cref="IEndpointRouteBuilder"/></returns>
70/// <see cref="MapFallbackToFile(IEndpointRouteBuilder, string, StaticFileOptions)"/> is intended to handle cases
76/// <see cref="MapFallbackToFile(IEndpointRouteBuilder, string, StaticFileOptions)"/> registers an endpoint using the pattern
83this IEndpointRouteBuilder endpoints,
96/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
100/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>
103/// <returns>The <see cref="IEndpointRouteBuilder"/></returns>
106/// <see cref="MapFallbackToFile(IEndpointRouteBuilder, string, string)"/> is intended to handle
125this IEndpointRouteBuilder endpoints,
139/// Adds a specialized <see cref="RouteEndpoint"/> to the <see cref="IEndpointRouteBuilder"/> that will match
143/// <param name="endpoints">The <see cref="IEndpointRouteBuilder"/>.</param>\
147/// <returns>The <see cref="IEndpointRouteBuilder"/></returns>
150/// <see cref="MapFallbackToFile(IEndpointRouteBuilder, string, string, StaticFileOptions)"/> is intended to handle
166this IEndpointRouteBuilder endpoints,
181IEndpointRouteBuilder endpoints,