Compartir a través de


RazorPagesEndpointRouteBuilderExtensions.MapRazorPages Método

Definición

Agrega puntos de conexión para razor Pages a .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

Parámetros

Devoluciones

para PageActionEndpointConventionBuilder los puntos de conexión asociados a Razor Pages.

Se aplica a