MvcCoreMvcCoreBuilderExtensions MvcCoreMvcCoreBuilderExtensions MvcCoreMvcCoreBuilderExtensions Class

Definition

public static class MvcCoreMvcCoreBuilderExtensions
type MvcCoreMvcCoreBuilderExtensions = class
Public Module MvcCoreMvcCoreBuilderExtensions
Inheritance
MvcCoreMvcCoreBuilderExtensionsMvcCoreMvcCoreBuilderExtensionsMvcCoreMvcCoreBuilderExtensions

Methods

AddApplicationPart(IMvcCoreBuilder, Assembly) AddApplicationPart(IMvcCoreBuilder, Assembly) AddApplicationPart(IMvcCoreBuilder, Assembly)

Adds an ApplicationPart to the list of ApplicationParts on the PartManager.

AddAuthorization(IMvcCoreBuilder) AddAuthorization(IMvcCoreBuilder) AddAuthorization(IMvcCoreBuilder)
AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>) AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>) AddAuthorization(IMvcCoreBuilder, Action<AuthorizationOptions>)
AddControllersAsServices(IMvcCoreBuilder) AddControllersAsServices(IMvcCoreBuilder) AddControllersAsServices(IMvcCoreBuilder)

Registers discovered controllers as services in the IServiceCollection.

AddFormatterMappings(IMvcCoreBuilder) AddFormatterMappings(IMvcCoreBuilder) AddFormatterMappings(IMvcCoreBuilder)
AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>) AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>) AddFormatterMappings(IMvcCoreBuilder, Action<FormatterMappings>)
AddMvcOptions(IMvcCoreBuilder, Action<MvcOptions>) AddMvcOptions(IMvcCoreBuilder, Action<MvcOptions>) AddMvcOptions(IMvcCoreBuilder, Action<MvcOptions>)

Registers an action to configure MvcOptions.

ConfigureApiBehaviorOptions(IMvcCoreBuilder, Action<ApiBehaviorOptions>) ConfigureApiBehaviorOptions(IMvcCoreBuilder, Action<ApiBehaviorOptions>) ConfigureApiBehaviorOptions(IMvcCoreBuilder, Action<ApiBehaviorOptions>)

Configures ApiBehaviorOptions.

ConfigureApplicationPartManager(IMvcCoreBuilder, Action<ApplicationPartManager>) ConfigureApplicationPartManager(IMvcCoreBuilder, Action<ApplicationPartManager>) ConfigureApplicationPartManager(IMvcCoreBuilder, Action<ApplicationPartManager>)

Configures the ApplicationPartManager of the PartManager using the given Action<T>.

SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion) SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion) SetCompatibilityVersion(IMvcCoreBuilder, CompatibilityVersion)

Sets the CompatibilityVersion for ASP.NET Core MVC for the application.

Applies to