Microsoft.AspNetCore.Owin 10.0.1

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
97
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
99
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
100
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
105
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
106
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.
97
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.
98
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.
99
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.
100
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.
101
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.
102
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.
104
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.
105
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.
107
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.
108
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.
109

.NET 10.0

  • No dependencies.

Version Downloads Last updated
10.0.1 4 12/10/2025
10.0.0 21 11/12/2025
10.0.0-rc.2.25502.107 38 10/15/2025
10.0.0-rc.1.25451.107 44 09/09/2025
10.0.0-preview.7.25380.108 44 08/13/2025
10.0.0-preview.6.25358.103 49 07/17/2025
10.0.0-preview.5.25277.114 52 06/08/2025
10.0.0-preview.4.25258.110 57 05/15/2025
10.0.0-preview.3.25172.1 65 04/14/2025
10.0.0-preview.2.25164.1 67 04/02/2025
10.0.0-preview.1.25120.3 67 04/02/2025
9.0.11 18 11/12/2025
9.0.10 29 10/15/2025
9.0.9 44 09/09/2025
9.0.8 53 08/08/2025
9.0.7 57 07/09/2025
9.0.6 56 06/12/2025
9.0.5 59 05/15/2025
9.0.4 66 04/10/2025
9.0.3 63 03/31/2025
9.0.2 58 03/31/2025
9.0.1 73 03/31/2025
9.0.0 79 11/14/2024
9.0.0-rc.2.24474.3 70 10/14/2024
9.0.0-rc.1.24452.1 74 10/05/2024
9.0.0-preview.7.24406.2 81 09/02/2024
9.0.0-preview.6.24328.4 100 07/20/2024
9.0.0-preview.5.24306.11 84 07/20/2024
9.0.0-preview.4.24267.6 82 07/20/2024
9.0.0-preview.3.24172.13 84 07/20/2024
9.0.0-preview.2.24128.4 80 07/20/2024
9.0.0-preview.1.24081.5 90 07/20/2024
8.0.22 22 11/12/2025
8.0.21 36 10/15/2025
8.0.20 44 09/09/2025
8.0.19 51 08/07/2025
8.0.18 51 07/09/2025
8.0.17 55 06/12/2025
8.0.16 58 05/15/2025
8.0.15 73 04/10/2025
8.0.14 63 03/31/2025
8.0.13 70 03/31/2025
8.0.12 74 03/31/2025
8.0.11 75 11/14/2024
8.0.10 72 10/17/2024
8.0.8 83 08/31/2024
8.0.7 102 07/20/2024
8.0.6 82 07/20/2024
8.0.5 99 07/20/2024
8.0.4 87 07/20/2024
8.0.3 101 07/20/2024
8.0.2 104 07/20/2024
8.0.1 105 07/20/2024
8.0.0 103 07/20/2024
8.0.0-rc.2.23480.2 83 07/20/2024
8.0.0-rc.1.23421.29 93 07/20/2024
8.0.0-preview.7.23375.9 91 07/20/2024
8.0.0-preview.6.23329.11 79 07/20/2024
8.0.0-preview.5.23302.2 97 07/20/2024
8.0.0-preview.4.23260.4 90 07/20/2024
8.0.0-preview.3.23177.8 88 07/20/2024
8.0.0-preview.2.23153.2 88 07/20/2024
8.0.0-preview.1.23112.2 76 07/20/2024
7.0.20 106 07/20/2024
7.0.19 85 07/20/2024
7.0.18 89 07/20/2024
7.0.17 83 07/20/2024
7.0.16 98 07/20/2024
7.0.15 75 07/20/2024
7.0.14 91 07/20/2024
7.0.13 83 07/20/2024
7.0.12 84 07/20/2024
7.0.11 82 07/20/2024
7.0.10 76 07/20/2024
7.0.9 94 07/20/2024
7.0.8 99 07/20/2024
7.0.7 89 07/20/2024
7.0.5 93 07/20/2024
7.0.4 94 07/20/2024
7.0.3 80 07/20/2024
7.0.2 97 07/20/2024
7.0.1 94 07/20/2024
7.0.0 89 07/20/2024
7.0.0-rc.2.22476.2 88 07/20/2024
7.0.0-rc.1.22427.2 91 07/20/2024
7.0.0-preview.7.22376.6 104 07/20/2024
7.0.0-preview.6.22330.3 90 07/20/2024
7.0.0-preview.5.22303.8 91 07/20/2024
7.0.0-preview.4.22251.1 84 07/20/2024
7.0.0-preview.3.22178.4 81 07/20/2024
7.0.0-preview.2.22153.2 87 07/20/2024
7.0.0-preview.1.22109.13 75 07/20/2024
6.0.36 74 11/14/2024
6.0.35 68 10/17/2024
6.0.33 70 09/15/2024
6.0.32 97 07/20/2024
6.0.31 108 07/20/2024
6.0.30 87 07/20/2024
6.0.29 87 07/20/2024
6.0.28 92 07/20/2024
6.0.27 85 07/20/2024
6.0.26 88 07/20/2024
6.0.25 91 07/20/2024
6.0.24 84 07/20/2024
6.0.23 109 07/20/2024
6.0.22 91 07/20/2024
6.0.21 85 07/20/2024
6.0.20 98 07/20/2024
6.0.19 87 07/20/2024
6.0.18 88 07/20/2024
6.0.16 95 07/20/2024
6.0.15 92 07/20/2024
6.0.14 92 07/20/2024
6.0.13 86 07/20/2024
6.0.12 85 07/20/2024
6.0.11 91 07/20/2024
6.0.10 95 07/20/2024
6.0.9 92 07/20/2024
6.0.8 97 07/20/2024
6.0.7 100 07/20/2024
6.0.6 75 07/20/2024
6.0.5 87 07/20/2024
6.0.4 96 07/20/2024
6.0.3 90 07/20/2024
6.0.2 90 07/20/2024
6.0.1 90 07/20/2024
6.0.0 92 07/20/2024
6.0.0-rc.2.21480.10 86 07/20/2024
6.0.0-rc.1.21452.15 94 07/20/2024
6.0.0-preview.7.21378.6 86 07/20/2024
6.0.0-preview.6.21355.2 87 07/20/2024
6.0.0-preview.5.21301.17 91 07/20/2024
6.0.0-preview.4.21253.5 83 07/20/2024
6.0.0-preview.3.21201.13 79 07/20/2024
6.0.0-preview.2.21154.6 85 07/20/2024
6.0.0-preview.1.21103.6 93 07/20/2024
5.0.17 84 07/20/2024
5.0.16 102 07/20/2024
5.0.15 93 07/20/2024
5.0.14 87 07/20/2024
5.0.13 99 07/20/2024
5.0.12 82 07/20/2024
5.0.11 80 07/20/2024
5.0.10 105 07/20/2024
5.0.9 89 07/20/2024
5.0.8 95 07/20/2024
5.0.7 93 07/20/2024
5.0.6 94 07/20/2024
5.0.5 82 07/20/2024
5.0.4 93 07/20/2024
5.0.3 104 07/20/2024
5.0.2 85 07/20/2024
5.0.1 93 07/20/2024
5.0.0 90 07/20/2024
5.0.0-rc.2.20475.17 80 07/20/2024
5.0.0-rc.1.20451.17 86 07/20/2024
5.0.0-preview.8.20414.8 75 07/20/2024
5.0.0-preview.7.20365.19 90 07/20/2024
5.0.0-preview.6.20312.15 89 07/20/2024
5.0.0-preview.5.20279.2 87 07/20/2024
5.0.0-preview.4.20257.10 83 07/20/2024
5.0.0-preview.3.20215.14 90 07/20/2024
5.0.0-preview.2.20167.3 85 07/20/2024
5.0.0-preview.1.20124.5 87 07/20/2024
3.1.32 99 07/20/2024
3.1.31 86 07/20/2024
3.1.30 85 07/20/2024
3.1.29 94 07/20/2024
3.1.28 98 07/20/2024
3.1.27 84 07/20/2024
3.1.26 90 07/20/2024
3.1.25 101 07/20/2024
3.1.24 85 07/20/2024
3.1.23 81 07/20/2024
3.1.22 93 07/20/2024
3.1.21 97 07/20/2024
3.1.20 99 07/20/2024
3.1.19 87 07/20/2024
3.1.18 97 07/20/2024
3.1.17 81 07/20/2024
3.1.16 102 07/20/2024
3.1.15 97 07/20/2024
3.1.14 87 07/20/2024
3.1.13 80 07/20/2024
3.1.12 88 07/20/2024
3.1.11 90 07/20/2024
3.1.10 102 07/20/2024
3.1.9 96 07/20/2024
3.1.8 101 07/20/2024
3.1.7 80 07/20/2024
3.1.6 95 07/20/2024
3.1.5 83 07/20/2024
3.1.4 84 07/20/2024
3.1.3 86 07/20/2024
3.1.2 100 07/20/2024
3.1.1 87 07/20/2024
3.1.0 81 07/20/2024
3.1.0-preview3.19555.2 90 07/20/2024
3.1.0-preview2.19528.8 78 07/20/2024
3.1.0-preview1.19508.20 84 07/20/2024
3.0.3 91 07/20/2024
3.0.2 90 07/20/2024
3.0.0 94 07/20/2024
3.0.0-rc1.19457.4 84 07/20/2024
3.0.0-preview9.19424.4 90 07/20/2024
3.0.0-preview8.19405.7 86 07/20/2024
3.0.0-preview7.19365.7 85 07/20/2024
3.0.0-preview6.19307.2 87 07/20/2024
3.0.0-preview5-19227-01 91 07/20/2024
3.0.0-preview4-19216-03 86 07/20/2024
3.0.0-preview3-19153-02 98 07/20/2024
3.0.0-preview-19075-0444 90 07/20/2024
3.0.0-preview-18579-0056 84 07/20/2024
2.3.0 69 03/31/2025
2.2.0 101 07/20/2024
2.2.0-preview3-35497 83 07/20/2024
2.2.0-preview2-35157 86 07/20/2024
2.2.0-preview1-35029 80 07/20/2024
2.1.1 84 07/20/2024
2.1.0 89 07/20/2024
2.1.0-rc1-final 88 07/20/2024
2.1.0-preview2-final 92 07/20/2024
2.1.0-preview1-final 97 07/20/2024
2.0.3 89 07/20/2024
2.0.2 99 07/20/2024
2.0.1 104 07/20/2024
2.0.0 93 07/20/2024
2.0.0-preview2-final 91 07/20/2024
2.0.0-preview1-final 89 07/20/2024
1.1.2 87 07/20/2024
1.1.1 88 07/20/2024
1.1.0 87 07/20/2024
1.1.0-preview1-final 98 07/20/2024
1.0.4 84 07/20/2024
1.0.3 98 07/20/2024
1.0.2 81 07/20/2024
1.0.1 90 07/20/2024
1.0.0 91 07/20/2024
1.0.0-rc2-final 103 07/20/2024