Compartir a través de


MvcRazorPagesMvcCoreBuilderExtensions.WithRazorPagesRoot Método

Definición

Configura Razor Pages para usar el especificado rootDirectory.

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

Parámetros

rootDirectory
String

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

Devoluciones

Se aplica a