MvcRazorPagesMvcBuilderExtensions.WithRazorPagesAtContentRoot Metodo

Definizione

Configura Razor Pages per essere radicata nella radice del contenuto (ContentRootPath).

public static Microsoft.Extensions.DependencyInjection.IMvcBuilder WithRazorPagesAtContentRoot (this Microsoft.Extensions.DependencyInjection.IMvcBuilder builder);
static member WithRazorPagesAtContentRoot : Microsoft.Extensions.DependencyInjection.IMvcBuilder -> Microsoft.Extensions.DependencyInjection.IMvcBuilder
<Extension()>
Public Function WithRazorPagesAtContentRoot (builder As IMvcBuilder) As IMvcBuilder

Parametri

builder
IMvcBuilder

Oggetto IMvcCoreBuilder.

Restituisce

Oggetto IMvcBuilder.

Si applica a