MvcApplicationBuilderExtensions MvcApplicationBuilderExtensions MvcApplicationBuilderExtensions Class

Definition

Extension methods for IApplicationBuilder to add MVC to the request execution pipeline.

public static class MvcApplicationBuilderExtensions
type MvcApplicationBuilderExtensions = class
Public Module MvcApplicationBuilderExtensions
Inheritance
MvcApplicationBuilderExtensionsMvcApplicationBuilderExtensionsMvcApplicationBuilderExtensions

Methods

UseMvc(IApplicationBuilder) UseMvc(IApplicationBuilder) UseMvc(IApplicationBuilder)

Adds MVC to the IApplicationBuilder request execution pipeline.

UseMvc(IApplicationBuilder, Action<IRouteBuilder>) UseMvc(IApplicationBuilder, Action<IRouteBuilder>) UseMvc(IApplicationBuilder, Action<IRouteBuilder>)

Adds MVC to the IApplicationBuilder request execution pipeline.

UseMvcWithDefaultRoute(IApplicationBuilder) UseMvcWithDefaultRoute(IApplicationBuilder) UseMvcWithDefaultRoute(IApplicationBuilder)

Adds MVC to the IApplicationBuilder request execution pipeline with a default route named 'default' and the following template: '{controller=Home}/{action=Index}/{id?}'.

Applies to