MvcRazorPagesMvcBuilderExtensions MvcRazorPagesMvcBuilderExtensions MvcRazorPagesMvcBuilderExtensions Class

Definition

Extensions methods for configuring Razor Pages via an IMvcBuilder.

public static class MvcRazorPagesMvcBuilderExtensions
type MvcRazorPagesMvcBuilderExtensions = class
Public Module MvcRazorPagesMvcBuilderExtensions
Inheritance
MvcRazorPagesMvcBuilderExtensionsMvcRazorPagesMvcBuilderExtensionsMvcRazorPagesMvcBuilderExtensions

Methods

AddRazorPagesOptions(IMvcBuilder, Action<RazorPagesOptions>) AddRazorPagesOptions(IMvcBuilder, Action<RazorPagesOptions>) AddRazorPagesOptions(IMvcBuilder, Action<RazorPagesOptions>)

Configures a set of RazorViewEngineOptions for the application.

WithRazorPagesAtContentRoot(IMvcBuilder) WithRazorPagesAtContentRoot(IMvcBuilder) WithRazorPagesAtContentRoot(IMvcBuilder)

Configures Razor Pages to be rooted at the content root (ContentRootPath).

WithRazorPagesRoot(IMvcBuilder, String) WithRazorPagesRoot(IMvcBuilder, String) WithRazorPagesRoot(IMvcBuilder, String)

Configures Razor Pages to use the specified rootDirectory.

Applies to