IIS Web API Requirements

Is ASP.NET web API required to run any particular version of IIS? I am interested in knowing every version of the web API, for example. if Web API 2.0 requires IIS7.5, and Web API 2.1 requires, for example, IIS8. I can't seem to find this information anywhere.

+4
source share
1 answer

The ASP.NET Web API is part of the ASP.NET stack and is therefore supported in all IIS releases if the .NET Framework targeting is also supported on this version of Windows.

  • The first version of ASP.NET Web API (version 4.0.20710) and its patched version (4.0.30506) require .NET 4, which covers all versions of Windows, starting with Windows XP. This means that IIS 5.1 and later must support this release of the web API.
  • The second release, called ASP.NET Web API 2 (version 5.0.0) and later (aka 2.1 and 2.2), requires .NET 4.5, which covers all versions of Windows, starting with Windows Vista. This means that IIS 7.0 and higher must support ASP.NET Web API 2. *.

Literature:

NuGet Packages: https://www.nuget.org/packages/Microsoft.AspNet.WebApi

Download .NET Framework 4 (check system requirements): http://www.microsoft.com/en-us/download/details.aspx?id=22833

.NET Framework 4.5 ( ): http://www.microsoft.com/en-us/download/details.aspx?id=30653

Windows IIS: http://support.microsoft.com/kb/224609

+10

Source: https://habr.com/ru/post/1546812/


All Articles