Microsoft.AspNet.WebApi.SelfHost 5.0.0-beta1

Prefix Reserved
This is a prerelease version of Microsoft.AspNet.WebApi.SelfHost.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNet.WebApi.SelfHost --version 5.0.0-beta1                
NuGet\Install-Package Microsoft.AspNet.WebApi.SelfHost -Version 5.0.0-beta1                
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.AspNet.WebApi.SelfHost" Version="5.0.0-beta1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNet.WebApi.SelfHost --version 5.0.0-beta1                
#r "nuget: Microsoft.AspNet.WebApi.SelfHost, 5.0.0-beta1"                
#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.AspNet.WebApi.SelfHost as a Cake Addin
#addin nuget:?package=Microsoft.AspNet.WebApi.SelfHost&version=5.0.0-beta1&prerelease

// Install Microsoft.AspNet.WebApi.SelfHost as a Cake Tool
#tool nuget:?package=Microsoft.AspNet.WebApi.SelfHost&version=5.0.0-beta1&prerelease                

This package contains everything you need to host ASP.NET Web API within your own process (outside of IIS). ASP.NET Web API is a framework that makes it easy to build HTTP services that reach a broad range of clients, including browsers and mobile devices. ASP.NET Web API is an ideal platform for building RESTful applications on the .NET Framework.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (60)

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

Package Downloads

Legacy package, AspNetWebApi.SelfHost is now included in the 'Microsoft.AspNet.WebApi.SelfHost' package.


AttributeRouting for self-hosted Web API lets you specify routes using attributes on your API controllers and actions.


Extension for Ninject providing integration with ASP.NET WebAPI 2 self host


[This package is now legacy. Migrate to NContext.Extensions.AspNet.WebApi.] NContext application component for ASP.NET Web API.


Topshelf.WebApi provides extensions to configure a self-hosted WebAPI instance along with your service class.

GitHub repositories (19)

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

Repository Stars
Seamlessly adds a swagger to WebApi projects!
ASP.NET Web API rate limiter for IIS and Owin hosting
ASP.NET Web API CacheOutput - library to allow you to cache the output of ApiControllers
OData Web API: A server library built upon ODataLib and WebApi
An implementation of HTTP Caching in .NET Core and 4.5.2+ for both the client and the server
Version Downloads Last updated
5.3.0 76,965 10/23/2023
5.3.0-preview1 1,567 4/3/2023
5.2.9 315,414 5/31/2022
5.2.8 37,684 4/12/2022
5.2.7 1,540,093 11/29/2018
5.2.6 361,493 5/11/2018
5.2.5 17,901 5/2/2018
5.2.5-preview1 2,574 3/19/2018
5.2.4 148,438 2/12/2018
5.2.4-preview1 2,513 1/5/2018
5.2.3 2,431,037 2/9/2015
5.2.3-beta1 3,074 12/17/2014
5.2.2 269,536 8/28/2014
5.2.2-rc 2,647 8/23/2014
5.2.0 139,829 7/1/2014
5.2.0-rc 4,027 5/27/2014
5.1.2 113,599 4/2/2014
5.1.1 31,697 2/10/2014
5.1.0 31,739 1/17/2014
5.1.0-rc1 1,976 12/6/2013
5.0.1 31,822 2/13/2014
5.0.0 95,755 10/17/2013
5.0.0-rc1 3,469 8/23/2013
5.0.0-beta2 3,819 6/26/2013
5.0.0-beta1 2,888 6/26/2013
4.0.30506 362,804 5/30/2013
4.0.20918 148,156 9/27/2012
4.0.20710 120,921 8/11/2012
4.0.20505 39,492 5/31/2012