Microsoft.AspNetCore.Owin 10.0.0-preview.1.25120.3

Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Owin.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.Owin --version 10.0.0-preview.1.25120.3
                    
NuGet\Install-Package Microsoft.AspNetCore.Owin -Version 10.0.0-preview.1.25120.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.AspNetCore.Owin" Version="10.0.0-preview.1.25120.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.Owin" Version="10.0.0-preview.1.25120.3" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.Owin" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.Owin --version 10.0.0-preview.1.25120.3
                    
#r "nuget: Microsoft.AspNetCore.Owin, 10.0.0-preview.1.25120.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.Owin&version=10.0.0-preview.1.25120.3&prerelease
                    
Install Microsoft.AspNetCore.Owin as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.Owin&version=10.0.0-preview.1.25120.3&prerelease
                    
Install Microsoft.AspNetCore.Owin as a Cake Tool

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.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (85)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Owin:

Package Downloads
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.

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.

Abp.AspNetZeroCore.Web

Package Description

DicomObjects.Core

DicomObjects.Net is a simple to use .NET based DICOM library. The API is user-friendly and is aimed to provide easy ways to build DICOM solution. This library is actively supported by MedicalConnections Ltd, UK. If you have any questions please contact our support team.

Bit.Server.Owin

Bit.Server.Owin

GitHub repositories (20)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Owin:

Repository Stars
NancyFx/Nancy
Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
chromelyapps/Chromely
Build Cross Platform HTML Desktop Apps on .NET using native GUI, HTML5, JavaScript, CSS, Owin, AspNetCore (MVC, RazorPages, Blazor)
riperiperi/FreeSO
Re-implementation of The Sims Online.
wixtoolset/wix
WiX Toolset Code
Whisparr/Whisparr
Version Downloads Last updated
10.0.0-preview.2.25164.1 180 3/18/2025
10.0.0-preview.1.25120.3 199 2/25/2025
9.0.3 1,733 3/11/2025
9.0.2 4,418 2/11/2025
9.0.1 6,986 1/14/2025
9.0.0 14,607 11/12/2024
9.0.0-rc.2.24474.3 1,643 10/8/2024
9.0.0-rc.1.24452.1 198 9/10/2024
9.0.0-preview.7.24406.2 201 8/13/2024
9.0.0-preview.6.24328.4 194 7/9/2024
9.0.0-preview.5.24306.11 264 6/11/2024
9.0.0-preview.4.24267.6 194 5/21/2024
9.0.0-preview.3.24172.13 238 4/11/2024
9.0.0-preview.2.24128.4 206 3/12/2024
9.0.0-preview.1.24081.5 235 2/13/2024
8.0.14 4,600 3/11/2025
8.0.13 19,861 2/11/2025
8.0.12 8,353 1/14/2025
8.0.11 34,570 11/12/2024
8.0.10 100,773 10/8/2024
8.0.8 106,202 8/13/2024
8.0.7 59,708 7/9/2024
8.0.6 86,710 5/28/2024
8.0.5 36,852 5/14/2024
8.0.4 108,553 4/9/2024
8.0.3 34,774 3/12/2024
8.0.2 35,267 2/13/2024
8.0.1 52,427 1/9/2024
8.0.0 254,625 11/14/2023
8.0.0-rc.2.23480.2 788 10/10/2023
8.0.0-rc.1.23421.29 391 9/12/2023
8.0.0-preview.7.23375.9 353 8/8/2023
8.0.0-preview.6.23329.11 338 7/11/2023
8.0.0-preview.5.23302.2 340 6/13/2023
8.0.0-preview.4.23260.4 328 5/16/2023
8.0.0-preview.3.23177.8 355 4/11/2023
8.0.0-preview.2.23153.2 342 3/14/2023
8.0.0-preview.1.23112.2 322 2/21/2023
7.0.20 1,372 5/28/2024
7.0.19 374 5/14/2024
7.0.18 808 4/9/2024
7.0.17 977 3/12/2024
7.0.16 2,310 2/13/2024
7.0.15 2,393 1/9/2024
7.0.14 7,535 11/14/2023
7.0.13 48,136 10/24/2023
7.0.12 9,243 10/10/2023
7.0.11 23,427 9/12/2023
7.0.10 40,556 8/8/2023
7.0.9 32,036 7/11/2023
7.0.8 10,838 6/22/2023
7.0.7 3,808 6/13/2023
7.0.5 115,238 4/11/2023
7.0.4 54,950 3/14/2023
7.0.3 29,459 2/14/2023
7.0.2 39,163 1/10/2023
7.0.1 10,502 12/13/2022
7.0.0 20,055 11/7/2022
7.0.0-rc.2.22476.2 351 10/11/2022
7.0.0-rc.1.22427.2 420 9/14/2022
7.0.0-preview.7.22376.6 428 8/9/2022
7.0.0-preview.6.22330.3 390 7/12/2022
7.0.0-preview.5.22303.8 374 6/14/2022
7.0.0-preview.4.22251.1 431 5/10/2022
7.0.0-preview.3.22178.4 419 4/13/2022
7.0.0-preview.2.22153.2 384 3/14/2022
7.0.0-preview.1.22109.13 407 2/17/2022
6.0.36 8,458 11/12/2024
6.0.35 2,900 10/8/2024
6.0.33 5,919 8/13/2024
6.0.32 6,822 7/9/2024
6.0.31 2,681 5/28/2024
6.0.30 1,289 5/14/2024
6.0.29 93,772 4/9/2024
6.0.28 3,740 3/12/2024
6.0.27 8,887 2/13/2024
6.0.26 27,640 1/9/2024
6.0.25 16,530 11/14/2023
6.0.24 15,541 10/24/2023
6.0.23 13,827 10/10/2023
6.0.22 34,784 9/12/2023
6.0.21 34,859 8/8/2023
6.0.20 36,862 7/11/2023
6.0.19 10,363 6/22/2023
6.0.18 4,424 6/13/2023
6.0.16 60,413 4/11/2023
6.0.15 90,567 3/14/2023
6.0.14 48,869 2/14/2023
6.0.13 75,039 1/10/2023
6.0.12 30,666 12/13/2022
6.0.11 94,150 11/7/2022
6.0.10 77,571 10/11/2022
6.0.9 78,977 9/13/2022
6.0.8 71,356 8/9/2022
6.0.7 72,667 7/12/2022
6.0.6 87,378 6/14/2022
6.0.5 543,535 5/10/2022
6.0.4 155,478 4/11/2022
6.0.3 138,867 3/8/2022
6.0.2 42,380 2/8/2022
6.0.1 152,519 12/14/2021
6.0.0 303,968 11/8/2021
6.0.0-rc.2.21480.10 884 10/12/2021
6.0.0-rc.1.21452.15 880 9/14/2021
6.0.0-preview.7.21378.6 523 8/10/2021
6.0.0-preview.6.21355.2 505 7/14/2021
6.0.0-preview.5.21301.17 441 6/15/2021
6.0.0-preview.4.21253.5 396 5/24/2021
6.0.0-preview.3.21201.13 483 4/8/2021
6.0.0-preview.2.21154.6 508 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21103.6 534 2/12/2021 6.0.0-preview.1.21103.6 is deprecated because it is no longer maintained.
5.0.17 27,122 5/10/2022 5.0.17 is deprecated because it is no longer maintained.
5.0.16 5,976 4/11/2022 5.0.16 is deprecated because it is no longer maintained.
5.0.15 7,037 3/8/2022 5.0.15 is deprecated because it is no longer maintained.
5.0.14 21,258 2/8/2022 5.0.14 is deprecated because it is no longer maintained.
5.0.13 20,340 12/14/2021 5.0.13 is deprecated because it is no longer maintained.
5.0.12 17,890 11/7/2021 5.0.12 is deprecated because it is no longer maintained.
5.0.11 27,154 10/12/2021 5.0.11 is deprecated because it is no longer maintained.
5.0.10 20,683 9/14/2021 5.0.10 is deprecated because it is no longer maintained.
5.0.9 36,304 8/10/2021 5.0.9 is deprecated because it is no longer maintained.
5.0.8 70,252 7/13/2021 5.0.8 is deprecated because it is no longer maintained.
5.0.7 36,403 6/8/2021 5.0.7 is deprecated because it is no longer maintained.
5.0.6 28,236 5/11/2021 5.0.6 is deprecated because it is no longer maintained.
5.0.5 49,767 4/6/2021 5.0.5 is deprecated because it is no longer maintained.
5.0.4 67,937 3/9/2021 5.0.4 is deprecated because it is no longer maintained.
5.0.3 26,353 2/9/2021 5.0.3 is deprecated because it is no longer maintained.
5.0.2 18,059 1/12/2021 5.0.2 is deprecated because it is no longer maintained.
5.0.1 45,453 12/8/2020 5.0.1 is deprecated because it is no longer maintained.
5.0.0 277,356 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.17 2,714 10/13/2020 5.0.0-rc.2.20475.17 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.17 4,023 9/14/2020 5.0.0-rc.1.20451.17 is deprecated because it is no longer maintained.
5.0.0-preview.8.20414.8 1,688 8/25/2020 5.0.0-preview.8.20414.8 is deprecated because it is no longer maintained.
5.0.0-preview.7.20365.19 1,675 7/21/2020 5.0.0-preview.7.20365.19 is deprecated because it is no longer maintained.
5.0.0-preview.6.20312.15 581 6/25/2020 5.0.0-preview.6.20312.15 is deprecated because it is no longer maintained.
5.0.0-preview.5.20279.2 584 6/10/2020 5.0.0-preview.5.20279.2 is deprecated because it is no longer maintained.
5.0.0-preview.4.20257.10 612 5/18/2020 5.0.0-preview.4.20257.10 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.14 594 4/23/2020 5.0.0-preview.3.20215.14 is deprecated because it is no longer maintained.
5.0.0-preview.2.20167.3 625 4/2/2020 5.0.0-preview.2.20167.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20124.5 636 3/16/2020 5.0.0-preview.1.20124.5 is deprecated because it is no longer maintained.
3.1.32 16,768 12/13/2022
3.1.31 3,389 11/8/2022
3.1.30 2,054 10/11/2022
3.1.29 2,227 9/13/2022
3.1.28 4,718 8/9/2022
3.1.27 1,951 7/12/2022
3.1.26 5,789 6/14/2022
3.1.25 5,009 5/10/2022
3.1.24 3,656 4/11/2022
3.1.23 17,910 3/8/2022
3.1.22 25,159 12/14/2021
3.1.21 40,897 11/7/2021
3.1.20 9,883 10/11/2021
3.1.19 13,078 9/14/2021
3.1.18 32,327 8/10/2021
3.1.17 9,517 7/13/2021
3.1.16 22,828 6/8/2021
3.1.15 46,595 5/11/2021
3.1.14 29,793 4/6/2021
3.1.13 36,200 3/9/2021
3.1.12 48,094 2/9/2021
3.1.11 30,798 1/12/2021
3.1.10 66,578 11/9/2020
3.1.9 49,499 10/13/2020
3.1.8 70,845 9/8/2020
3.1.7 44,429 8/11/2020
3.1.6 35,330 7/14/2020
3.1.5 159,416 6/9/2020
3.1.4 71,948 5/12/2020
3.1.3 171,109 3/24/2020
3.1.2 114,323 2/18/2020
3.1.1 71,058 1/14/2020
3.1.0 292,230 12/3/2019
3.1.0-preview3.19555.2 746 11/13/2019 3.1.0-preview3.19555.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19528.8 746 11/1/2019 3.1.0-preview2.19528.8 is deprecated because it is no longer maintained.
3.1.0-preview1.19508.20 791 10/15/2019 3.1.0-preview1.19508.20 is deprecated because it is no longer maintained.
3.0.3 15,902 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 4,964 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.0 474,209 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19457.4 757 9/16/2019 3.0.0-rc1.19457.4 is deprecated because it is no longer maintained.
3.0.0-preview9.19424.4 779 9/4/2019 3.0.0-preview9.19424.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.7 27,001 8/13/2019 3.0.0-preview8.19405.7 is deprecated because it is no longer maintained.
3.0.0-preview7.19365.7 992 7/23/2019 3.0.0-preview7.19365.7 is deprecated because it is no longer maintained.
3.0.0-preview6.19307.2 856 6/12/2019 3.0.0-preview6.19307.2 is deprecated because it is no longer maintained.
3.0.0-preview5-19227-01 1,603 5/6/2019 3.0.0-preview5-19227-01 is deprecated because it is no longer maintained.
3.0.0-preview4-19216-03 1,529 4/18/2019 3.0.0-preview4-19216-03 is deprecated because it is no longer maintained.
3.0.0-preview3-19153-02 1,563 3/6/2019 3.0.0-preview3-19153-02 is deprecated because it is no longer maintained.
3.0.0-preview-19075-0444 1,655 1/29/2019 3.0.0-preview-19075-0444 is deprecated because it is no longer maintained.
3.0.0-preview-18579-0056 2,015 12/3/2018 3.0.0-preview-18579-0056 is deprecated because it is no longer maintained.
2.3.0 722 1/14/2025
2.2.0 14,241,590 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 76,663 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 12,360 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 4,072 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 16,157,175 6/18/2018
2.1.0 3,309,530 5/29/2018
2.1.0-rc1-final 21,307 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 24,103 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 29,438 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 3,740,910 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 3,424,112 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 5,280,976 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 6,468,110 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 52,024 6/27/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 17,367 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 162,897 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 94,740 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 76,058 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 5,449 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.4 4,837 11/14/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 6,301 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 97,520 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 11,320 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 228,408 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 5,700 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.