MvcViewFeaturesMvcBuilderExtensions MvcViewFeaturesMvcBuilderExtensions MvcViewFeaturesMvcBuilderExtensions Class

Definition

Extensions methods for configuring MVC via an IMvcBuilder.

public static class MvcViewFeaturesMvcBuilderExtensions
type MvcViewFeaturesMvcBuilderExtensions = class
Public Module MvcViewFeaturesMvcBuilderExtensions
Inheritance
MvcViewFeaturesMvcBuilderExtensionsMvcViewFeaturesMvcBuilderExtensionsMvcViewFeaturesMvcBuilderExtensions

Methods

AddCookieTempDataProvider(IMvcBuilder) AddCookieTempDataProvider(IMvcBuilder) AddCookieTempDataProvider(IMvcBuilder)

Registers CookieTempDataProvider as the default ITempDataProvider in the IServiceCollection.

AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>) AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>) AddCookieTempDataProvider(IMvcBuilder, Action<CookieTempDataProviderOptions>)

Registers CookieTempDataProvider as the default ITempDataProvider in the IServiceCollection.

AddSessionStateTempDataProvider(IMvcBuilder) AddSessionStateTempDataProvider(IMvcBuilder) AddSessionStateTempDataProvider(IMvcBuilder)

Registers SessionStateTempDataProvider as the default ITempDataProvider in the IServiceCollection.

AddViewComponentsAsServices(IMvcBuilder) AddViewComponentsAsServices(IMvcBuilder) AddViewComponentsAsServices(IMvcBuilder)

Registers discovered view components as services in the IServiceCollection.

AddViewOptions(IMvcBuilder, Action<MvcViewOptions>) AddViewOptions(IMvcBuilder, Action<MvcViewOptions>) AddViewOptions(IMvcBuilder, Action<MvcViewOptions>)

Adds configuration of MvcViewOptions for the application.

Applies to