RazorPagesEndpointRouteBuilderExtensions.MapRazorPages 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 Razor Pages to the IEndpointRouteBuilder.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::PageActionEndpointConventionBuilder ^ MapRazorPages(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints);
public static Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder MapRazorPages (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapRazorPages : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.PageActionEndpointConventionBuilder
<Extension()>
Public Function MapRazorPages (endpoints As IEndpointRouteBuilder) As PageActionEndpointConventionBuilder
Parameters
- endpoints
- IEndpointRouteBuilder
Returns
An PageActionEndpointConventionBuilder for endpoints associated with Razor Pages.