Microsoft.AspNetCore.SystemWebAdapters
2.2.1
Prefix Reserved
dotnet add package Microsoft.AspNetCore.SystemWebAdapters --version 2.2.1
NuGet\Install-Package Microsoft.AspNetCore.SystemWebAdapters -Version 2.2.1
<PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters" Version="2.2.1" />
<PackageVersion Include="Microsoft.AspNetCore.SystemWebAdapters" Version="2.2.1" />
<PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters" />
paket add Microsoft.AspNetCore.SystemWebAdapters --version 2.2.1
#r "nuget: Microsoft.AspNetCore.SystemWebAdapters, 2.2.1"
#:package Microsoft.AspNetCore.SystemWebAdapters@2.2.1
#addin nuget:?package=Microsoft.AspNetCore.SystemWebAdapters&version=2.2.1
#tool nuget:?package=Microsoft.AspNetCore.SystemWebAdapters&version=2.2.1
Microsoft.AspNetCore.SystemWebAdapters
Provides System.Web compatibility APIs for ASP.NET Core applications, enabling incremental migration from ASP.NET Framework. Use familiar types like HttpContext, HttpRequest, HttpResponse, and more in your ASP.NET Core apps and .NET Standard libraries.
Getting Started
Configure in your ASP.NET Core Program.cs:
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSystemWebAdapters();
var app = builder.Build();
app.UseSystemWebAdapters();
app.Run();
Usage
Use System.Web types in your ASP.NET Core application:
using System.Web;
var context = HttpContext.Current;
var userAgent = context.Request.UserAgent;
var ipAddress = context.Request.UserHostAddress;
// Access session and cache
context.Session?["Key"] = "Value";
context.Cache["CacheKey"] = "CacheValue";
Supported APIs: HttpContext, HttpRequest, HttpResponse, HttpSessionState, Cache, HttpServerUtility, IHttpHandler, IHttpModule, and more.
Additional Documentation
| Product | Versions 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 is compatible. 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 is compatible. 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 is compatible. 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 | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. 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. |
-
.NETFramework 4.5
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETStandard 2.0
- System.Security.Principal.Windows (>= 5.0.0)
-
net10.0
- System.Runtime.Caching (>= 10.0.0)
-
net8.0
- System.Runtime.Caching (>= 8.0.1)
-
net9.0
- System.Runtime.Caching (>= 9.0.11)
NuGet packages (35)
Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.SystemWebAdapters:
| Package | Downloads |
|---|---|
|
Microsoft.AspNetCore.SystemWebAdapters.Abstractions
A collection of abstractions to provide support for enabling configuration for Microsoft.AspNetCore.SystemWebAdapters. |
|
|
Microsoft.AspNetCore.SystemWebAdapters.CoreServices
A collection of services to provide support for enabling configuration for Microsoft.AspNetCore.SystemWebAdapters. |
|
|
Microsoft.AspNetCore.SystemWebAdapters.FrameworkServices
A collection of services for ASP.NET application to incorporate Microsoft.AspNetCore.SystemWebAdapters. |
|
|
Acrolinx.Sidebar
Acrolinx .NET SDK for Sidebar Integration |
|
|
Microsoft.AspNetCore.SystemWebAdapters.SessionState
A collection of services to provide session support for the System.Web adapters. |
GitHub repositories (6)
Showing the top 6 popular GitHub repositories that depend on Microsoft.AspNetCore.SystemWebAdapters:
| Repository | Stars |
|---|---|
|
aduskin/AduSkin
A Beautiful WPF Control UI
|
|
|
ModuleArt/quick-picture-viewer
🖼️ Lightweight, versatile desktop image viewer for Windows. The best replacement for the default Windows photo viewer.
|
|
|
uholeschak/ediabaslib
.NET BMW and VAG Ediabas interpreter library
|
|
|
majorsilence/My-FyiReporting
Majorsilence Reporting, .NET report designer, viewer, and pdf creation.
|
|
|
msartore/ATA-GUI
ATA GUI is a project to make ATA available to all the users. ATA is an Advance Tool for Android™ powered by SDK Platform Tools.
|
|
|
CoreWebForms/CoreWebForms
|
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.1 | 2,590 | 12/18/2025 |
| 2.2.0 | 7,930 | 12/10/2025 |
| 2.2.0-preview1.25568.2 | 1,161 | 11/19/2025 |
| 2.2.0-preview1.25554.5 | 835 | 11/5/2025 |
| 2.1.0 | 124,513 | 10/21/2025 |
| 2.0.0 | 1,490,943 | 2/5/2025 |
| 1.4.0 | 3,634,127 | 5/8/2024 |
| 1.3.2 | 1,080,691 | 1/26/2024 |
| 1.3.1 | 209,331 | 1/11/2024 |
| 1.3.0 | 2,525,453 | 11/15/2023 |
| 1.2.0 | 518,563 | 6/29/2023 |
| 1.2.0-preview.1.23219.1 | 1,121 | 4/26/2023 |
| 1.1.0 | 1,477,531 | 3/16/2023 |
| 1.0.0 | 318,958 | 11/22/2022 |
| 1.0.0-rc.1.22477.1 | 52,005 | 9/28/2022 |
| 1.0.0-preview.3.22370.2 | 70,662 | 7/21/2022 |
| 1.0.0-preview.2.22316.1 | 12,898 | 6/17/2022 |
| 1.0.0-preview.1.22267.1 | 5,682 | 5/20/2022 |