ControllerEndpointRouteBuilderExtensions.MapControllers Method
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.
Adds endpoints for controller actions to the IEndpointRouteBuilder without specifying any routes.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ControllerActionEndpointConventionBuilder ^ MapControllers(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints);
public static Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder MapControllers (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapControllers : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.ControllerActionEndpointConventionBuilder
<Extension()>
Public Function MapControllers (endpoints As IEndpointRouteBuilder) As ControllerActionEndpointConventionBuilder
Parameters
- endpoints
- IEndpointRouteBuilder
Returns
An ControllerActionEndpointConventionBuilder for endpoints associated with controller actions.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor