Microsoft.AspNetCore.Owin
10.0.0-preview.4.25255.103
Prefix Reserved
This is a prerelease version of Microsoft.AspNetCore.Owin.
dotnet add package Microsoft.AspNetCore.Owin --version 10.0.0-preview.4.25255.103
NuGet\Install-Package Microsoft.AspNetCore.Owin -Version 10.0.0-preview.4.25255.103
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.4.25255.103" />
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.4.25255.103" />
<PackageReference Include="Microsoft.AspNetCore.Owin" />
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.4.25255.103
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.AspNetCore.Owin, 10.0.0-preview.4.25255.103"
#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.4.25255.103&prerelease
#tool nuget:?package=Microsoft.AspNetCore.Owin&version=10.0.0-preview.4.25255.103&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
GitHub repositories (21)
Showing the top 20 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
|
|
aelassas/wexflow
Workflow Engine and Automation Platform
|
|
phmonte/Buildalyzer
A utility to perform design-time builds of .NET projects without having to think too hard about it.
|
|
aspnet/Entropy
A chaotic experimental playground for new features and ideas - check here for small and simple samples for individual features.
|
|
aspnet/Hosting
[Archived] Code for hosting and starting up an ASP.NET Core application. Project moved to https://github.com/aspnet/Extensions and https://github.com/aspnet/AspNetCore
|
|
Sina-Soltani/Parbad
A free, open-source, integrated and extensible library which connects your web applications to online payment gateways. Gateways can be added or developed by you.
|
|
zavolokas/Inpainting
Want to remove something(someone) from a photo as it never was there? This is .NET implementation of content-aware fill. It smartly fills in unwanted or missing areas of photographs.
|
|
webview2/EdgeSharp
Build .NET Win32/WinForms/WPF WebView2 HTML5 Desktop Apps
|
|
zhupingqi/RuiJi.Net
crawler framework, distributed crawler extractor
|
|
spetz/asp-net-core-samples
|
|
mausch/QuartzNetWebConsole
Embeddable Quartz.Net web console
|
|
cmendible/dotnetcore.samples
.NET Core Samples - Code it Yourself...
|
|
Wyamio/Wyam
A modular static content and static site generator.
|
|
devmentors/DNC-DShop.Common
[Distributed .NET Core] Common library for DShop project.
|
|
yahehe/Nancy.Swagger
Nancy plugin for generated API documentation in Swagger format.
|
|
dazinator/Dotnettency
Mutlitenancy for dotnet applications
|
Version | Downloads | Last updated |
---|---|---|
10.0.0-preview.4.25255.103 | 0 | 5/12/2025 |
3.0.0-preview-19075-0444 | 2 | 1/28/2019 |
3.0.0-preview-18579-0056 | 2 | 11/30/2018 |
3.0.0-preview-18579-0053 | 2 | 11/30/2018 |