Microsoft.AspNet.WebApi.SelfHost 5.2.8 The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved

.NET Framework 4.5
There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.AspNet.WebApi.SelfHost -Version 5.2.8
dotnet add package Microsoft.AspNet.WebApi.SelfHost --version 5.2.8
<PackageReference Include="Microsoft.AspNet.WebApi.SelfHost" Version="5.2.8" />
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.2.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.AspNet.WebApi.SelfHost, 5.2.8"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.2.8

// Install Microsoft.AspNet.WebApi.SelfHost as a Cake Tool
#tool nuget:?package=Microsoft.AspNet.WebApi.SelfHost&version=5.2.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

This is a legacy package for hosting ASP.NET Web API within your own process (outside of IIS). Please use the Microsoft.AspNet.WebApi.OwinSelfHost package for new projects.

Product Versions
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (56)

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.


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

Ninject.Web.WebApi.Selfhost The ID prefix of this package has been reserved for one of the owners of this package by

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


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

GitHub repositories (20)

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

Repository Stars
The simple, flexible and friendly ASP.NET CMS used by more than 730.000 websites
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
GPU miner. github不太慢,
Version Downloads Last updated
5.2.9 4,623 5/31/2022
5.2.8 10,138 4/12/2022
5.2.7 926,926 11/29/2018
5.2.6 309,880 5/11/2018
5.2.5 10,694 5/2/2018
5.2.5-preview1 2,190 3/19/2018
5.2.4 115,792 2/12/2018
5.2.4-preview1 2,110 1/5/2018
5.2.3 1,928,761 2/9/2015
5.2.3-beta1 2,742 12/17/2014
5.2.2 159,284 8/28/2014
5.2.2-rc 2,293 8/23/2014
5.2.0 94,133 7/1/2014
5.2.0-rc 2,926 5/27/2014
5.1.2 59,535 4/2/2014
5.1.1 20,841 2/10/2014
5.1.0 14,155 1/17/2014
5.1.0-rc1 1,767 12/6/2013
5.0.1 29,131 2/13/2014
5.0.0 62,263 10/17/2013
5.0.0-rc1 3,039 8/23/2013
5.0.0-beta2 3,233 6/26/2013
5.0.0-beta1 2,499 6/26/2013
4.0.30506 295,369 5/30/2013
4.0.20918 121,777 9/27/2012
4.0.20710 88,701 8/11/2012
4.0.20505 33,570 5/31/2012