Microsoft.Owin.SelfHost 4.2.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
dotnet add package Microsoft.Owin.SelfHost --version 4.2.2
NuGet\Install-Package Microsoft.Owin.SelfHost -Version 4.2.2
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.Owin.SelfHost" Version="4.2.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Owin.SelfHost --version 4.2.2
#r "nuget: Microsoft.Owin.SelfHost, 4.2.2"
#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.
// Install Microsoft.Owin.SelfHost as a Cake Addin
#addin nuget:?package=Microsoft.Owin.SelfHost&version=4.2.2

// Install Microsoft.Owin.SelfHost as a Cake Tool
#tool nuget:?package=Microsoft.Owin.SelfHost&version=4.2.2

Getting started with Microsoft OWIN self-host libraries:

This package contains libraries for hosting OWIN compatible HTTP components in your own process.

An example Startup class is included below. The Startup class can be called from your application as follows:

using (WebApp.Start<Startup>("http://localhost:12345"))

public class Startup
    public void Configuration(IAppBuilder app)

For additional information see:

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (26)

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

Package Downloads
Microsoft.AspNet.SignalR.SelfHost The ID prefix of this package has been reserved for one of the owners of this package by

This package includes the required dependencies for self-hosting SignalR in a process outside of IIS using OWIN and HTTPListener.


Library of ASP.NET web forms extensions, embedded resource hosting and HTTP Module for implementing role-based security.


Platform host.


An InProcess HTTP server which can be mocked and asserted against to allow for full stack HTTP testing


Package Description

GitHub repositories (27)

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

Repository Stars
An easy way to perform background job processing in .NET and .NET Core applications. No Windows Service or separate process required
Incredibly simple real-time web for .NET
[Archived] Incredibly simple real-time web for ASP.NET Core. Project moved to
.NET library for JSX compilation and server-side rendering of React components
OpenID Connect Provider and OAuth 2.0 Authorization Server Framework for ASP.NET 4.x/Katana
Version Downloads Last updated
4.2.2 370,568 5/11/2022
4.2.1 9,627 4/8/2022
4.2.0 214,277 5/10/2021
4.1.1 196,234 9/8/2020
4.1.0 267,683 11/25/2019
4.0.1 428,900 1/24/2019
4.0.0 549,514 2/14/2018
4.0.0-preview1 2,723 11/21/2017
4.0.0-alpha1 2,662 8/30/2017
3.1.0 877,509 4/10/2017
3.1.0-rc1 1,260 3/24/2017
3.0.1 2,092,738 2/20/2015
3.0.0 152,765 8/20/2014
3.0.0-rc2 1,737 7/10/2014
3.0.0-rc1 1,191 7/2/2014
3.0.0-beta1 2,308 3/27/2014
3.0.0-alpha1 1,511 2/20/2014
2.1.0 1,156,897 1/21/2014
2.1.0-rc1 2,053 12/12/2013
2.0.2 74,888 11/18/2013
2.0.1 102,939 10/25/2013
2.0.0 24,559 10/17/2013
2.0.0-rc1 9,234 8/23/2013