Microsoft.AspNetCore.Owin 10.0.0

About

Microsoft.AspNetCore.Owin provides adapters for running OWIN middleware in an ASP.NET Core application, and to run ASP.NET Core middleware in an OWIN application.

How to Use

To use Microsoft.AspNetCore.Owin, follow these steps:

Installation

dotnet add package Microsoft.AspNetCore.Owin

Configuration

To use OWIN middleware in an ASP.NET Core pipeline:

  1. Define the OWIN middleware, if not done already. Here's a basic "Hello World" example:
    public Task OwinHello(IDictionary<string, object> environment)
    {
        var responseText = "Hello World via OWIN";
        var responseBytes = Encoding.UTF8.GetBytes(responseText);
    
        // OWIN Environment Keys: https://owin.org/spec/spec/owin-1.0.0.html
        var responseStream = (Stream)environment["owin.ResponseBody"];
        var responseHeaders = (IDictionary<string, string[]>)environment["owin.ResponseHeaders"];
    
        responseHeaders["Content-Length"] = [responseBytes.Length.ToString(CultureInfo.InvariantCulture)];
        responseHeaders["Content-Type"] = ["text/plain"];
    
        return responseStream.WriteAsync(responseBytes, 0, responseBytes.Length);
    }
    
  2. Add the middleware to the ASP.NET Core pipeline with the UseOwin extension method. For example:
    app.UseOwin(pipeline =>
    {
        pipeline(next => OwinHello);
    });
    

Additional Documentation

For additional documentation, including examples on running ASP.NET Core on an OWIN-based server, refer to the official documentation on OWIN with ASP.NET Core.

Feedback & Contributing

Microsoft.AspNetCore.Owin is released as open-source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Showing the top 20 packages that depend on Microsoft.AspNetCore.Owin.

Packages Downloads
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
29
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
30
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
31
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
29
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
30
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
31
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
33
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
35
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
36
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
37
Microsoft.AspNetCore.All
Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download. This package was built from the source at: https://github.com/aspnet/Universe/tree/244e037a222a7cd0a17feafb7f3a625fde40de97
30
Microsoft.AspNetCore.App
Microsoft.AspNetCore.App
29
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
29
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
30
Microsoft.AspNetCore.App
Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.
36

.NET 10.0

  • No dependencies.

Version Downloads Last updated
10.0.0 3 11/14/2025
10.0.0-rc.2.25502.107 7 10/19/2025
10.0.0-rc.1.25451.107 8 09/13/2025
10.0.0-preview.7.25380.108 12 08/14/2025
10.0.0-preview.6.25358.103 10 07/19/2025
10.0.0-preview.5.25277.114 12 06/08/2025
10.0.0-preview.4.25258.110 20 05/16/2025
10.0.0-preview.3.25172.1 20 04/13/2025
10.0.0-preview.2.25164.1 22 03/30/2025
10.0.0-preview.1.25120.3 20 03/01/2025
9.0.11 2 11/15/2025
9.0.10 5 10/18/2025
9.0.9 8 09/13/2025
9.0.8 12 08/10/2025
9.0.7 11 07/09/2025
9.0.6 12 06/12/2025
9.0.5 16 05/17/2025
9.0.4 17 04/13/2025
9.0.3 22 03/12/2025
9.0.2 18 03/01/2025
9.0.1 23 01/22/2025
9.0.0 25 11/16/2024
9.0.0-rc.2.24474.3 24 11/16/2024
9.0.0-rc.1.24452.1 20 11/16/2024
9.0.0-preview.7.24406.2 25 11/16/2024
9.0.0-preview.6.24328.4 22 11/16/2024
9.0.0-preview.5.24306.11 18 11/16/2024
9.0.0-preview.4.24267.6 26 05/27/2024
9.0.0-preview.3.24172.13 25 05/27/2024
9.0.0-preview.2.24128.4 20 05/27/2024
9.0.0-preview.1.24081.5 25 05/27/2024
8.0.22 3 11/15/2025
8.0.21 7 10/18/2025
8.0.20 8 09/13/2025
8.0.19 9 08/10/2025
8.0.18 14 07/09/2025
8.0.17 11 06/12/2025
8.0.16 16 05/17/2025
8.0.15 19 04/13/2025
8.0.14 23 03/12/2025
8.0.13 23 03/01/2025
8.0.12 26 01/22/2025
8.0.11 26 11/16/2024
8.0.10 23 12/04/2024
8.0.8 21 12/04/2024
8.0.7 25 11/16/2024
8.0.6 26 11/16/2024
8.0.5 27 05/27/2024
8.0.4 29 05/19/2024
8.0.3 28 05/27/2024
8.0.2 29 05/27/2024
8.0.1 33 05/27/2024
8.0.0 29 05/19/2024
8.0.0-rc.2.23480.2 30 05/27/2024
8.0.0-rc.1.23421.29 25 05/27/2024
8.0.0-preview.7.23375.9 23 05/27/2024
8.0.0-preview.6.23329.11 29 05/23/2024
8.0.0-preview.5.23302.2 32 05/27/2024
8.0.0-preview.4.23260.4 27 05/27/2024
8.0.0-preview.3.23177.8 24 05/27/2024
8.0.0-preview.2.23153.2 23 05/27/2024
8.0.0-preview.1.23112.2 27 05/27/2024
7.0.20 26 11/16/2024
7.0.19 31 05/27/2024
7.0.18 27 05/27/2024
7.0.17 30 05/19/2024
7.0.16 27 05/27/2024
7.0.15 29 05/27/2024
7.0.14 29 05/27/2024
7.0.13 27 05/27/2024
7.0.12 26 05/24/2024
7.0.11 29 05/27/2024
7.0.10 25 05/27/2024
7.0.9 27 05/27/2024
7.0.8 27 05/27/2024
7.0.7 26 05/27/2024
7.0.5 32 05/27/2024
7.0.4 35 05/27/2024
7.0.3 30 05/27/2024
7.0.2 29 05/27/2024
7.0.1 26 05/27/2024
7.0.0 28 05/19/2024
7.0.0-rc.2.22476.2 29 05/27/2024
7.0.0-rc.1.22427.2 24 05/27/2024
7.0.0-preview.7.22376.6 30 05/27/2024
7.0.0-preview.6.22330.3 25 05/27/2024
7.0.0-preview.5.22303.8 21 05/27/2024
7.0.0-preview.4.22251.1 33 05/19/2024
7.0.0-preview.3.22178.4 24 05/27/2024
7.0.0-preview.2.22153.2 25 05/27/2024
7.0.0-preview.1.22109.13 24 05/27/2024
6.0.36 28 11/16/2024
6.0.35 25 11/16/2024
6.0.33 26 11/16/2024
6.0.32 28 11/16/2024
6.0.31 25 11/16/2024
6.0.30 29 05/19/2024
6.0.29 28 05/27/2024
6.0.28 31 05/19/2024
6.0.27 26 05/27/2024
6.0.26 29 05/27/2024
6.0.25 29 05/27/2024
6.0.24 27 05/27/2024
6.0.23 27 05/27/2024
6.0.22 27 05/27/2024
6.0.21 24 05/19/2024
6.0.20 25 05/27/2024
6.0.19 27 05/27/2024
6.0.18 27 05/27/2024
6.0.16 31 05/27/2024
6.0.15 30 05/27/2024
6.0.14 28 05/27/2024
6.0.13 28 05/27/2024
6.0.12 25 05/27/2024
6.0.11 28 05/27/2024
6.0.10 27 05/27/2024
6.0.9 28 05/27/2024
6.0.8 31 05/27/2024
6.0.7 30 05/27/2024
6.0.6 34 05/27/2024
6.0.5 29 05/27/2024
6.0.4 30 05/27/2024
6.0.3 29 05/27/2024
6.0.2 28 05/27/2024
6.0.1 26 05/27/2024
6.0.0 31 05/27/2024
6.0.0-rc.2.21480.10 26 05/27/2024
6.0.0-rc.1.21452.15 22 05/27/2024
6.0.0-preview.7.21378.6 30 05/27/2024
6.0.0-preview.6.21355.2 28 05/27/2024
6.0.0-preview.5.21301.17 30 05/19/2024
6.0.0-preview.4.21253.5 26 05/27/2024
6.0.0-preview.3.21201.13 27 05/27/2024
6.0.0-preview.2.21154.6 28 05/27/2024
6.0.0-preview.1.21103.6 29 05/27/2024
5.0.17 25 05/27/2024
5.0.16 29 05/19/2024
5.0.15 28 05/27/2024
5.0.14 27 05/27/2024
5.0.13 29 05/27/2024
5.0.12 26 05/27/2024
5.0.11 30 05/27/2024
5.0.10 25 05/27/2024
5.0.9 29 05/27/2024
5.0.8 28 05/27/2024
5.0.7 24 05/27/2024
5.0.6 30 05/27/2024
5.0.5 30 05/27/2024
5.0.4 23 05/27/2024
5.0.3 30 05/27/2024
5.0.2 32 05/27/2024
5.0.1 30 05/27/2024
5.0.0 25 05/27/2024
5.0.0-rc.2.20475.17 28 05/27/2024
5.0.0-rc.1.20451.17 26 05/27/2024
5.0.0-preview.8.20414.8 26 05/27/2024
5.0.0-preview.7.20365.19 19 05/27/2024
5.0.0-preview.6.20312.15 22 05/27/2024
5.0.0-preview.5.20279.2 25 05/27/2024
5.0.0-preview.4.20257.10 25 05/27/2024
5.0.0-preview.3.20215.14 28 05/27/2024
5.0.0-preview.2.20167.3 25 05/27/2024
5.0.0-preview.1.20124.5 25 05/27/2024
3.1.32 28 05/27/2024
3.1.31 31 05/27/2024
3.1.30 25 05/27/2024
3.1.29 28 05/27/2024
3.1.28 23 05/27/2024
3.1.27 25 05/27/2024
3.1.26 24 05/27/2024
3.1.25 29 05/27/2024
3.1.24 25 05/27/2024
3.1.23 26 05/27/2024
3.1.22 30 05/27/2024
3.1.21 25 05/27/2024
3.1.20 25 05/27/2024
3.1.19 24 05/27/2024
3.1.18 25 05/27/2024
3.1.17 25 05/27/2024
3.1.16 27 05/19/2024
3.1.15 26 05/27/2024
3.1.14 23 05/27/2024
3.1.13 28 05/27/2024
3.1.12 25 05/27/2024
3.1.11 27 05/27/2024
3.1.10 24 05/27/2024
3.1.9 26 05/27/2024
3.1.8 26 05/27/2024
3.1.7 29 05/27/2024
3.1.6 31 05/27/2024
3.1.5 28 05/27/2024
3.1.4 27 05/27/2024
3.1.3 27 05/27/2024
3.1.2 27 05/27/2024
3.1.1 25 05/27/2024
3.1.0 27 05/27/2024
3.1.0-preview3.19555.2 25 05/27/2024
3.1.0-preview2.19528.8 27 05/27/2024
3.1.0-preview1.19508.20 32 05/27/2024
3.0.3 25 05/27/2024
3.0.2 27 05/27/2024
3.0.0 33 05/27/2024
3.0.0-rc1.19457.4 25 05/27/2024
3.0.0-preview9.19424.4 28 05/27/2024
3.0.0-preview8.19405.7 25 05/27/2024
3.0.0-preview7.19365.7 25 05/19/2024
3.0.0-preview6.19307.2 27 05/27/2024
3.0.0-preview5-19227-01 23 05/27/2024
3.0.0-preview4-19216-03 30 05/27/2024
3.0.0-preview3-19153-02 25 05/27/2024
3.0.0-preview-19075-0444 23 05/23/2024
3.0.0-preview-18579-0056 27 05/27/2024
2.3.0 27 01/22/2025
2.2.0 29 08/17/2023
2.2.0-preview3-35497 26 05/27/2024
2.2.0-preview2-35157 24 05/27/2024
2.2.0-preview1-35029 28 05/27/2024
2.1.1 27 05/27/2024
2.1.0 28 05/27/2024
2.1.0-rc1-final 26 05/27/2024
2.1.0-preview2-final 27 05/27/2024
2.1.0-preview1-final 27 05/27/2024
2.0.3 32 05/27/2024
2.0.2 30 05/27/2024
2.0.1 27 05/27/2024
2.0.0 31 05/27/2024
2.0.0-preview2-final 26 05/27/2024
2.0.0-preview1-final 33 05/27/2024
1.1.2 29 05/27/2024
1.1.1 31 05/27/2024
1.1.0 28 05/27/2024
1.1.0-preview1-final 30 05/27/2024
1.0.4 25 05/27/2024
1.0.3 28 05/27/2024
1.0.2 31 05/27/2024
1.0.1 28 05/27/2024
1.0.0 24 05/27/2024
1.0.0-rc2-final 29 05/27/2024