EndpointRoutingApplicationBuilderExtensions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains extensions for configuring routing on an IApplicationBuilder.
public ref class EndpointRoutingApplicationBuilderExtensions abstract sealed
public static class EndpointRoutingApplicationBuilderExtensions
type EndpointRoutingApplicationBuilderExtensions = class
Public Module EndpointRoutingApplicationBuilderExtensions
- Inheritance
-
EndpointRoutingApplicationBuilderExtensions
Methods
UseEndpoints(IApplicationBuilder, Action<IEndpointRouteBuilder>) |
Adds a Microsoft.AspNetCore.Routing.EndpointMiddleware middleware to the specified IApplicationBuilder with the EndpointDataSource instances built from configured IEndpointRouteBuilder. The Microsoft.AspNetCore.Routing.EndpointMiddleware will execute the Endpoint associated with the current request. |
UseRouting(IApplicationBuilder) |
Adds a Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware middleware to the specified IApplicationBuilder. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for