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
82
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
84
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
88
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
89
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.
81
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.
82
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.
83
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.
84
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.
85
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.
87
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.
88
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.
90
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.
93

.NET 10.0

  • No dependencies.

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