MvcApplicationBuilderExtensions Klasse

Definition

Erweiterungsmethoden zum IApplicationBuilder Hinzufügen von MVC zur Anforderungsausführungspipeline.

public ref class MvcApplicationBuilderExtensions abstract sealed
public static class MvcApplicationBuilderExtensions
type MvcApplicationBuilderExtensions = class
Public Module MvcApplicationBuilderExtensions
Vererbung
MvcApplicationBuilderExtensions

Methoden

UseMvc(IApplicationBuilder)

Fügt MVC der Anforderungsausführungspipeline IApplicationBuilder hinzu.

UseMvc(IApplicationBuilder, Action<IRouteBuilder>)

Fügt MVC der Anforderungsausführungspipeline IApplicationBuilder hinzu.

UseMvcWithDefaultRoute(IApplicationBuilder)

Fügt MVC der Anforderungsausführungspipeline IApplicationBuilder mit der Standardroute "default" und der folgenden Vorlage hinzu: '{controller=Home}/{action=Index}/{id?}'.

Gilt für: