MvcServiceCollectionExtensions MvcServiceCollectionExtensions MvcServiceCollectionExtensions Class

Definition

Extension methods for setting up MVC services in an IServiceCollection.

public static class MvcServiceCollectionExtensions
type MvcServiceCollectionExtensions = class
Public Module MvcServiceCollectionExtensions
Inheritance
MvcServiceCollectionExtensionsMvcServiceCollectionExtensionsMvcServiceCollectionExtensions

Methods

AddMvc(IServiceCollection) AddMvc(IServiceCollection) AddMvc(IServiceCollection)

Adds MVC services to the specified IServiceCollection.

AddMvc(IServiceCollection, Action<MvcOptions>) AddMvc(IServiceCollection, Action<MvcOptions>) AddMvc(IServiceCollection, Action<MvcOptions>)

Adds MVC services to the specified IServiceCollection.

Applies to