Microsoft.AspNetCore.StaticFiles 2.1.0-rc1-final

Prefix Reserved
Additional Details

This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217

This is a prerelease version of Microsoft.AspNetCore.StaticFiles.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.AspNetCore.StaticFiles --version 2.1.0-rc1-final
                    
NuGet\Install-Package Microsoft.AspNetCore.StaticFiles -Version 2.1.0-rc1-final
                    
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.1.0-rc1-final" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.AspNetCore.StaticFiles" Version="2.1.0-rc1-final" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.AspNetCore.StaticFiles --version 2.1.0-rc1-final
                    
#r "nuget: Microsoft.AspNetCore.StaticFiles, 2.1.0-rc1-final"
                    
#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.
#:package Microsoft.AspNetCore.StaticFiles@2.1.0-rc1-final
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.AspNetCore.StaticFiles&version=2.1.0-rc1-final&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.AspNetCore.StaticFiles&version=2.1.0-rc1-final&prerelease
                    
Install as a Cake Tool

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

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 (629)

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

Package Downloads
NSwag.AspNetCore

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

Microsoft.AspNetCore.App

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 https://aka.ms/dotnet-download.

Microsoft.AspNetCore.All

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 https://aka.ms/dotnet-download.

HotChocolate.AspNetCore.Playground

Contains a GraphQL Playground for ASP .Net core that can be used with the Hot Chocolate GraphQL server.

graphiql

GraphiQL available as middleware for ASP.NET Core

GitHub repositories (2)

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

Repository Stars
Jackett/Jackett
API Support for your favorite torrent trackers
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
Version Downloads Last Updated
2.3.0 2,128,464 1/14/2025
2.2.0 71,391,029 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 78,566 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 23,261 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 16,989 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 26,319,516 6/18/2018
2.1.0 16,897,984 5/29/2018
2.1.0-rc1-final 49,749 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 38,651 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 95,132 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.3 4,328,425 5/7/2018 2.0.3 is deprecated because it is no longer maintained.
2.0.2 4,419,535 3/13/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 7,588,865 11/14/2017 2.0.1 is deprecated because it is no longer maintained.
2.0.0 44,675,301 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 89,463 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 47,427 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.3 450,874 9/20/2017 1.1.3 is deprecated because it is no longer maintained.
1.1.2 1,760,964 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 1,464,263 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 1,737,424 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 15,661 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.5 272,204 11/14/2017 1.0.5 is deprecated because it is no longer maintained.
1.0.4 25,546,923 9/20/2017 1.0.4 is deprecated because it is no longer maintained.
1.0.3 102,344 5/9/2017 1.0.3 is deprecated because it is no longer maintained.
1.0.2 13,623,078 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 512,983 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 6,434,649 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 1,710,047 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.