Partilhar via


MvcRazorPagesMvcBuilderExtensions.WithRazorPagesAtContentRoot Método

Definição

Configura o Razor Pages para ter raiz na raiz de conteúdo (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

Parâmetros

Retornos

O IMvcBuilder.

Aplica-se a