Compartir a través de


MvcRazorPagesMvcBuilderExtensions.WithRazorPagesRoot Método

Definición

Configura Razor Pages para usar el especificado rootDirectory.

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder WithRazorPagesRoot (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder, string rootDirectory);
static member WithRazorPagesRoot : Microsoft.Extensions.DependencyInjection.IMvcBuilder * string -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function WithRazorPagesRoot (builder As IMvcBuilder, rootDirectory As String) As IMvcBuilder

Parámetros

rootDirectory
String

Ruta de acceso relativa de la aplicación que se va a usar como directorio raíz.

Devoluciones

IMvcBuilder.

Se aplica a