Microsoft.AspNetCore.Owin
10.0.0-preview.1.25120.3
Prefix Reserved
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
<PackageReference Include="Microsoft.AspNetCore.Owin" Version="10.0.0-preview.1.25120.3" />
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"
// Install Microsoft.AspNetCore.Owin as a Cake Addin #addin nuget:?package=Microsoft.AspNetCore.Owin&version=10.0.0-preview.1.25120.3&prerelease // Install Microsoft.AspNetCore.Owin as a Cake Tool #tool nuget:?package=Microsoft.AspNetCore.Owin&version=10.0.0-preview.1.25120.3&prerelease
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:
- 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); }
- 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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net10.0 is compatible. |
-
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
|
|
phmonte/Buildalyzer
A utility to perform design-time builds of .NET projects without having to think too hard about it.
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.1.25120.3 | 161 | 2/25/2025 | |
9.0.2 | 2,685 | 2/11/2025 | |
9.0.1 | 6,407 | 1/14/2025 | |
9.0.0 | 11,968 | 11/12/2024 | |
9.0.0-rc.2.24474.3 | 1,546 | 10/8/2024 | |
9.0.0-rc.1.24452.1 | 190 | 9/10/2024 | |
9.0.0-preview.7.24406.2 | 192 | 8/13/2024 | |
9.0.0-preview.6.24328.4 | 186 | 7/9/2024 | |
9.0.0-preview.5.24306.11 | 259 | 6/11/2024 | |
9.0.0-preview.4.24267.6 | 187 | 5/21/2024 | |
9.0.0-preview.3.24172.13 | 227 | 4/11/2024 | |
9.0.0-preview.2.24128.4 | 199 | 3/12/2024 | |
9.0.0-preview.1.24081.5 | 228 | 2/13/2024 | |
8.0.13 | 8,238 | 2/11/2025 | |
8.0.12 | 6,166 | 1/14/2025 | |
8.0.11 | 28,518 | 11/12/2024 | |
8.0.10 | 92,730 | 10/8/2024 | |
8.0.8 | 98,801 | 8/13/2024 | |
8.0.7 | 57,323 | 7/9/2024 | |
8.0.6 | 81,696 | 5/28/2024 | |
8.0.5 | 34,111 | 5/14/2024 | |
8.0.4 | 102,385 | 4/9/2024 | |
8.0.3 | 33,429 | 3/12/2024 | |
8.0.2 | 34,265 | 2/13/2024 | |
8.0.1 | 50,690 | 1/9/2024 | |
8.0.0 | 237,449 | 11/14/2023 | |
8.0.0-rc.2.23480.2 | 780 | 10/10/2023 | |
8.0.0-rc.1.23421.29 | 383 | 9/12/2023 | |
8.0.0-preview.7.23375.9 | 345 | 8/8/2023 | |
8.0.0-preview.6.23329.11 | 330 | 7/11/2023 | |
8.0.0-preview.5.23302.2 | 325 | 6/13/2023 | |
8.0.0-preview.4.23260.4 | 320 | 5/16/2023 | |
8.0.0-preview.3.23177.8 | 345 | 4/11/2023 | |
8.0.0-preview.2.23153.2 | 333 | 3/14/2023 | |
8.0.0-preview.1.23112.2 | 314 | 2/21/2023 | |
7.0.20 | 1,279 | 5/28/2024 | |
7.0.19 | 366 | 5/14/2024 | |
7.0.18 | 782 | 4/9/2024 | |
7.0.17 | 955 | 3/12/2024 | |
7.0.16 | 2,293 | 2/13/2024 | |
7.0.15 | 2,364 | 1/9/2024 | |
7.0.14 | 7,426 | 11/14/2023 | |
7.0.13 | 45,077 | 10/24/2023 | |
7.0.12 | 9,168 | 10/10/2023 | |
7.0.11 | 22,618 | 9/12/2023 | |
7.0.10 | 39,294 | 8/8/2023 | |
7.0.9 | 31,560 | 7/11/2023 | |
7.0.8 | 10,779 | 6/22/2023 | |
7.0.7 | 3,799 | 6/13/2023 | |
7.0.5 | 112,186 | 4/11/2023 | |
7.0.4 | 54,448 | 3/14/2023 | |
7.0.3 | 29,200 | 2/14/2023 | |
7.0.2 | 38,186 | 1/10/2023 | |
7.0.1 | 10,469 | 12/13/2022 | |
7.0.0 | 19,894 | 11/7/2022 | |
7.0.0-rc.2.22476.2 | 341 | 10/11/2022 | |
7.0.0-rc.1.22427.2 | 412 | 9/14/2022 | |
7.0.0-preview.7.22376.6 | 413 | 8/9/2022 | |
7.0.0-preview.6.22330.3 | 382 | 7/12/2022 | |
7.0.0-preview.5.22303.8 | 365 | 6/14/2022 | |
7.0.0-preview.4.22251.1 | 419 | 5/10/2022 | |
7.0.0-preview.3.22178.4 | 407 | 4/13/2022 | |
7.0.0-preview.2.22153.2 | 372 | 3/14/2022 | |
7.0.0-preview.1.22109.13 | 396 | 2/17/2022 | |
6.0.36 | 6,033 | 11/12/2024 | |
6.0.35 | 2,724 | 10/8/2024 | |
6.0.33 | 5,868 | 8/13/2024 | |
6.0.32 | 6,741 | 7/9/2024 | |
6.0.31 | 2,630 | 5/28/2024 | |
6.0.30 | 1,273 | 5/14/2024 | |
6.0.29 | 88,166 | 4/9/2024 | |
6.0.28 | 3,688 | 3/12/2024 | |
6.0.27 | 8,646 | 2/13/2024 | |
6.0.26 | 27,430 | 1/9/2024 | |
6.0.25 | 16,278 | 11/14/2023 | |
6.0.24 | 15,071 | 10/24/2023 | |
6.0.23 | 13,716 | 10/10/2023 | |
6.0.22 | 33,463 | 9/12/2023 | |
6.0.21 | 33,861 | 8/8/2023 | |
6.0.20 | 36,421 | 7/11/2023 | |
6.0.19 | 10,332 | 6/22/2023 | |
6.0.18 | 4,370 | 6/13/2023 | |
6.0.16 | 58,154 | 4/11/2023 | |
6.0.15 | 87,261 | 3/14/2023 | |
6.0.14 | 47,491 | 2/14/2023 | |
6.0.13 | 74,248 | 1/10/2023 | |
6.0.12 | 30,148 | 12/13/2022 | |
6.0.11 | 89,262 | 11/7/2022 | |
6.0.10 | 76,833 | 10/11/2022 | |
6.0.9 | 77,919 | 9/13/2022 | |
6.0.8 | 70,850 | 8/9/2022 | |
6.0.7 | 71,797 | 7/12/2022 | |
6.0.6 | 87,129 | 6/14/2022 | |
6.0.5 | 531,088 | 5/10/2022 | |
6.0.4 | 154,766 | 4/11/2022 | |
6.0.3 | 137,887 | 3/8/2022 | |
6.0.2 | 42,204 | 2/8/2022 | |
6.0.1 | 150,889 | 12/14/2021 | |
6.0.0 | 297,914 | 11/8/2021 | |
6.0.0-rc.2.21480.10 | 872 | 10/12/2021 | |
6.0.0-rc.1.21452.15 | 867 | 9/14/2021 | |
6.0.0-preview.7.21378.6 | 512 | 8/10/2021 | |
6.0.0-preview.6.21355.2 | 493 | 7/14/2021 | |
6.0.0-preview.5.21301.17 | 430 | 6/15/2021 | |
6.0.0-preview.4.21253.5 | 385 | 5/24/2021 | |
6.0.0-preview.3.21201.13 | 471 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 494 | 3/11/2021 | |
6.0.0-preview.1.21103.6 | 517 | 2/12/2021 | |
5.0.17 | 26,922 | 5/10/2022 | |
5.0.16 | 5,930 | 4/11/2022 | |
5.0.15 | 7,024 | 3/8/2022 | |
5.0.14 | 21,235 | 2/8/2022 | |
5.0.13 | 20,306 | 12/14/2021 | |
5.0.12 | 17,843 | 11/7/2021 | |
5.0.11 | 27,003 | 10/12/2021 | |
5.0.10 | 20,654 | 9/14/2021 | |
5.0.9 | 36,148 | 8/10/2021 | |
5.0.8 | 70,092 | 7/13/2021 | |
5.0.7 | 36,286 | 6/8/2021 | |
5.0.6 | 28,169 | 5/11/2021 | |
5.0.5 | 48,689 | 4/6/2021 | |
5.0.4 | 67,763 | 3/9/2021 | |
5.0.3 | 26,327 | 2/9/2021 | |
5.0.2 | 18,002 | 1/12/2021 | |
5.0.1 | 45,148 | 12/8/2020 | |
5.0.0 | 276,207 | 11/9/2020 | |
5.0.0-rc.2.20475.17 | 2,698 | 10/13/2020 | |
5.0.0-rc.1.20451.17 | 4,004 | 9/14/2020 | |
5.0.0-preview.8.20414.8 | 1,672 | 8/25/2020 | |
5.0.0-preview.7.20365.19 | 1,659 | 7/21/2020 | |
5.0.0-preview.6.20312.15 | 564 | 6/25/2020 | |
5.0.0-preview.5.20279.2 | 568 | 6/10/2020 | |
5.0.0-preview.4.20257.10 | 596 | 5/18/2020 | |
5.0.0-preview.3.20215.14 | 578 | 4/23/2020 | |
5.0.0-preview.2.20167.3 | 609 | 4/2/2020 | |
5.0.0-preview.1.20124.5 | 620 | 3/16/2020 | |
3.1.32 | 15,974 | 12/13/2022 | |
3.1.31 | 3,381 | 11/8/2022 | |
3.1.30 | 2,027 | 10/11/2022 | |
3.1.29 | 2,213 | 9/13/2022 | |
3.1.28 | 4,709 | 8/9/2022 | |
3.1.27 | 1,942 | 7/12/2022 | |
3.1.26 | 5,780 | 6/14/2022 | |
3.1.25 | 4,998 | 5/10/2022 | |
3.1.24 | 3,646 | 4/11/2022 | |
3.1.23 | 17,785 | 3/8/2022 | |
3.1.22 | 25,020 | 12/14/2021 | |
3.1.21 | 40,370 | 11/7/2021 | |
3.1.20 | 9,784 | 10/11/2021 | |
3.1.19 | 13,056 | 9/14/2021 | |
3.1.18 | 32,142 | 8/10/2021 | |
3.1.17 | 9,500 | 7/13/2021 | |
3.1.16 | 22,649 | 6/8/2021 | |
3.1.15 | 45,601 | 5/11/2021 | |
3.1.14 | 29,522 | 4/6/2021 | |
3.1.13 | 36,025 | 3/9/2021 | |
3.1.12 | 48,070 | 2/9/2021 | |
3.1.11 | 30,770 | 1/12/2021 | |
3.1.10 | 66,243 | 11/9/2020 | |
3.1.9 | 49,330 | 10/13/2020 | |
3.1.8 | 70,710 | 9/8/2020 | |
3.1.7 | 44,331 | 8/11/2020 | |
3.1.6 | 35,163 | 7/14/2020 | |
3.1.5 | 157,695 | 6/9/2020 | |
3.1.4 | 71,692 | 5/12/2020 | |
3.1.3 | 170,300 | 3/24/2020 | |
3.1.2 | 114,053 | 2/18/2020 | |
3.1.1 | 70,692 | 1/14/2020 | |
3.1.0 | 287,951 | 12/3/2019 | |
3.1.0-preview3.19555.2 | 723 | 11/13/2019 | |
3.1.0-preview2.19528.8 | 724 | 11/1/2019 | |
3.1.0-preview1.19508.20 | 769 | 10/15/2019 | |
3.0.3 | 15,864 | 2/18/2020 | |
3.0.2 | 4,939 | 1/14/2020 | |
3.0.0 | 471,592 | 9/23/2019 | |
3.0.0-rc1.19457.4 | 733 | 9/16/2019 | |
3.0.0-preview9.19424.4 | 756 | 9/4/2019 | |
3.0.0-preview8.19405.7 | 26,978 | 8/13/2019 | |
3.0.0-preview7.19365.7 | 970 | 7/23/2019 | |
3.0.0-preview6.19307.2 | 834 | 6/12/2019 | |
3.0.0-preview5-19227-01 | 1,580 | 5/6/2019 | |
3.0.0-preview4-19216-03 | 1,505 | 4/18/2019 | |
3.0.0-preview3-19153-02 | 1,540 | 3/6/2019 | |
3.0.0-preview-19075-0444 | 1,633 | 1/29/2019 | |
3.0.0-preview-18579-0056 | 1,992 | 12/3/2018 | |
2.3.0 | 468 | 1/14/2025 | |
2.2.0 | 14,165,753 | 12/3/2018 | |
2.2.0-preview3-35497 | 76,602 | 10/17/2018 | |
2.2.0-preview2-35157 | 12,328 | 9/12/2018 | |
2.2.0-preview1-35029 | 4,040 | 8/22/2018 | |
2.1.1 | 16,024,927 | 6/18/2018 | |
2.1.0 | 3,305,699 | 5/29/2018 | |
2.1.0-rc1-final | 21,259 | 5/6/2018 | |
2.1.0-preview2-final | 24,050 | 4/10/2018 | |
2.1.0-preview1-final | 29,369 | 2/26/2018 | |
2.0.3 | 3,726,431 | 5/7/2018 | |
2.0.2 | 3,413,881 | 3/13/2018 | |
2.0.1 | 5,263,733 | 11/14/2017 | |
2.0.0 | 6,451,936 | 8/11/2017 | |
2.0.0-preview2-final | 51,909 | 6/27/2017 | |
2.0.0-preview1-final | 17,331 | 5/10/2017 | |
1.1.2 | 162,669 | 5/9/2017 | |
1.1.1 | 94,319 | 3/6/2017 | |
1.1.0 | 75,998 | 11/16/2016 | |
1.1.0-preview1-final | 5,416 | 10/24/2016 | |
1.0.4 | 4,783 | 11/14/2017 | |
1.0.3 | 6,266 | 5/9/2017 | |
1.0.2 | 97,105 | 3/6/2017 | |
1.0.1 | 11,283 | 12/12/2016 | |
1.0.0 | 227,563 | 6/27/2016 | |
1.0.0-rc2-final | 5,669 | 5/16/2016 |