Microsoft.AspNetCore.Owin 10.0.0-preview.3.25172.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
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.
46
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
42
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
41
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.
41
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
40
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.
40
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.
39
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
38
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.
38
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
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.
37
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
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.
35
Microsoft.AspNetCore.All
Microsoft.AspNetCore.All
35

.NET 10.0

  • No dependencies.

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