Run​Extensions Run​Extensions Class

Definition

Extension methods for adding terminal middleware.
public static class RunExtensionsPublic Module RunExtensions
Inheritance
System.ObjectSystem.Object
RunExtensionsRunExtensions

Inherited Members

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

Methods

Run(IApplicationBuilder, RequestDelegate) Run(IApplicationBuilder, RequestDelegate)

Adds a terminal middleware delegate to the application's request pipeline.
public static void Run(this IApplicationBuilder app, RequestDelegate handler)<ExtensionAttribute>
Public Shared Sub Run(app As IApplicationBuilder, handler As RequestDelegate)
Parameters
handler
RequestDelegate RequestDelegate
A delegate that handles the request.