Share via


OwinExtensions.UseOwin Method

Definition

Overloads

UseOwin(IApplicationBuilder)

Adds an OWIN pipeline to the specified IApplicationBuilder.

UseOwin(IApplicationBuilder, Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>)

Adds OWIN middleware pipeline to the specified IApplicationBuilder.

UseOwin(IApplicationBuilder)

Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs

Adds an OWIN pipeline to the specified IApplicationBuilder.

public:
[System::Runtime::CompilerServices::Extension]
 static Action<Func<Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^, Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^> ^> ^ UseOwin(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder);
public static Action<Func<Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>,Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>>> UseOwin (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseOwin : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Action<Func<Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>, Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>>>
<Extension()>
Public Function UseOwin (builder As IApplicationBuilder) As Action(Of Func(Of Func(Of IDictionary(Of String, Object), Task), Func(Of IDictionary(Of String, Object), Task)))

Parameters

builder
IApplicationBuilder

The IApplicationBuilder to add the pipeline to.

Returns

An action used to create the OWIN pipeline.

Applies to

UseOwin(IApplicationBuilder, Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>)

Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs
Source:
OwinExtensions.cs

Adds OWIN middleware pipeline to the specified IApplicationBuilder.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseOwin(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder, Action<Action<Func<Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^, Func<System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^, System::Threading::Tasks::Task ^> ^> ^> ^> ^ pipeline);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseOwin (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder, Action<Action<Func<Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>,Func<System.Collections.Generic.IDictionary<string,object>,System.Threading.Tasks.Task>>>> pipeline);
static member UseOwin : Microsoft.AspNetCore.Builder.IApplicationBuilder * Action<Action<Func<Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>, Func<System.Collections.Generic.IDictionary<string, obj>, System.Threading.Tasks.Task>>>> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseOwin (builder As IApplicationBuilder, pipeline As Action(Of Action(Of Func(Of Func(Of IDictionary(Of String, Object), Task), Func(Of IDictionary(Of String, Object), Task))))) As IApplicationBuilder

Parameters

builder
IApplicationBuilder

The IApplicationBuilder to add the middleware to.

pipeline
Action<Action<Func<Func<IDictionary<String,Object>,Task>,Func<IDictionary<String,Object>,Task>>>>

A delegate which can specify the OWIN pipeline.

Returns

The original IApplicationBuilder.

Applies to