StaticFileResponseContext
StaticFileResponseContext()
StaticFileResponseContext(HttpContext, IFileInfo)
Context
File
net9.0
namespace Microsoft.AspNetCore.StaticFiles
{
public class StaticFileResponseContext
{
[Obsolete("Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file)", false)]
public StaticFileResponseContext();
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net9.0 | |
| Assemblies | Microsoft.AspNetCore.StaticFiles , Version=3.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.AspNetCore.StaticFiles , Version=2.3.13.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Package | Microsoft.AspNetCore.App (3.0.0-preview3-19153-02) netcoreapp3.0 |
| Obsolete | Use the constructor that passes in the HttpContext and IFileInfo parameters: StaticFileResponseContext(HttpContext context, IFileInfo file) |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API