Microsoft.AspNetCore.StaticFiles 2.2.0

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from

dotnet add package Microsoft.AspNetCore.StaticFiles --version 2.2.0                
NuGet\Install-Package Microsoft.AspNetCore.StaticFiles -Version 2.2.0                
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.StaticFiles" Version="2.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.StaticFiles --version 2.2.0                
#r "nuget: Microsoft.AspNetCore.StaticFiles, 2.2.0"                
#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.AspNetCore.StaticFiles as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.StaticFiles&version=2.2.0

// Install Microsoft.AspNetCore.StaticFiles as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.StaticFiles&version=2.2.0                

ASP.NET Core static files middleware. Includes middleware for serving static files, directory browsing, and default files.

This package was built from the source code at

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (576)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.StaticFiles:

Package Downloads

Middleware to expose an embedded version of the swagger-ui from an ASP.NET Core application


NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript


Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at


Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at


Middleware to expose an embedded version of Redoc from an ASP.NET Core application

GitHub repositories (158)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.StaticFiles:

Repository Stars
Documentation for ASP.NET Core
API Support for your favorite torrent trackers
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 8.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
[Archived] ASP.NET Core MVC is a model view controller framework for building dynamic web sites with clean separation of concerns, including the merged MVC, Web API, and Web Pages w/ Razor. Project moved to
Version Downloads Last updated
2.2.0 54,319,537 12/3/2018
2.2.0-preview3-35497 77,119 10/17/2018
2.2.0-preview2-35157 22,039 9/12/2018
2.2.0-preview1-35029 16,198 8/22/2018
2.1.1 22,104,037 6/18/2018
2.1.0 14,741,283 5/29/2018
2.1.0-rc1-final 47,243 5/6/2018
2.1.0-preview2-final 35,742 4/10/2018
2.1.0-preview1-final 87,845 2/26/2018
2.0.3 4,051,500 5/7/2018
2.0.2 4,177,354 3/13/2018
2.0.1 7,073,211 11/14/2017
2.0.0 42,750,646 8/11/2017
2.0.0-preview2-final 85,223 6/28/2017
2.0.0-preview1-final 46,085 5/10/2017
1.1.3 405,655 9/20/2017
1.1.2 1,644,554 5/9/2017
1.1.1 1,394,373 3/6/2017
1.1.0 1,440,820 11/16/2016
1.1.0-preview1-final 14,886 10/24/2016
1.0.5 254,002 11/14/2017
1.0.4 24,162,296 9/20/2017
1.0.3 80,432 5/9/2017
1.0.2 13,119,881 3/6/2017
1.0.1 488,099 12/12/2016
1.0.0 5,687,157 6/27/2016
1.0.0-rc2-final 1,683,381 5/16/2016