Microsoft.AspNetCore.SystemWebAdapters.Abstractions
2.2.1
Prefix Reserved
dotnet add package Microsoft.AspNetCore.SystemWebAdapters.Abstractions --version 2.2.1
NuGet\Install-Package Microsoft.AspNetCore.SystemWebAdapters.Abstractions -Version 2.2.1
<PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters.Abstractions" Version="2.2.1" />
<PackageVersion Include="Microsoft.AspNetCore.SystemWebAdapters.Abstractions" Version="2.2.1" />
<PackageReference Include="Microsoft.AspNetCore.SystemWebAdapters.Abstractions" />
paket add Microsoft.AspNetCore.SystemWebAdapters.Abstractions --version 2.2.1
#r "nuget: Microsoft.AspNetCore.SystemWebAdapters.Abstractions, 2.2.1"
#:package Microsoft.AspNetCore.SystemWebAdapters.Abstractions@2.2.1
#addin nuget:?package=Microsoft.AspNetCore.SystemWebAdapters.Abstractions&version=2.2.1
#tool nuget:?package=Microsoft.AspNetCore.SystemWebAdapters.Abstractions&version=2.2.1
Microsoft.AspNetCore.SystemWebAdapters.Abstractions
Provides shared abstractions and interfaces for configuring System Web Adapters in both ASP.NET Core and ASP.NET Framework applications.
Getting Started
This package is typically used as a dependency by other System Web Adapters packages. Most applications don't need to reference it directly.
Usage
Building Custom Extensions
Use this package when building extension libraries:
using Microsoft.AspNetCore.SystemWebAdapters;
public static class MyAdapterExtensions
{
public static ISystemWebAdapterBuilder AddMyCustomFeature(
this ISystemWebAdapterBuilder builder)
{
builder.Services.AddSingleton<IMyService, MyService>();
return builder;
}
}
Custom Session Serialization
Implement custom serializers for session state:
using Microsoft.AspNetCore.SystemWebAdapters.SessionState;
public class MySessionSerializer : ISessionKeySerializer
{
public bool TrySerialize(string key, object? obj, out byte[] bytes)
{
// Implement serialization logic
}
public bool TryDeserialize(string key, byte[] bytes, out object? obj)
{
// Implement deserialization logic
}
}
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 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. |
-
.NETStandard 2.0
- Microsoft.AspNetCore.SystemWebAdapters (>= 2.2.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Microsoft.AspNetCore.SystemWebAdapters.Abstractions:
| Package | Downloads |
|---|---|
|
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.2.1 | 1,441 | 12/18/2025 |
| 2.2.0 | 3,320 | 12/10/2025 |
| 2.2.0-preview1.25568.2 | 542 | 11/19/2025 |
| 2.2.0-preview1.25554.5 | 471 | 11/5/2025 |
| 2.1.0 | 42,199 | 10/21/2025 |
| 2.0.0 | 393,788 | 2/5/2025 |
| 1.4.0 | 736,797 | 5/8/2024 |
| 1.3.2 | 303,768 | 1/26/2024 |
| 1.3.1 | 38,211 | 1/11/2024 |
| 1.3.0 | 777,894 | 11/15/2023 |
| 1.2.0 | 198,688 | 6/29/2023 |
| 1.2.0-preview.1.23219.1 | 1,015 | 4/26/2023 |
| 1.1.0 | 361,859 | 3/16/2023 |
| 1.0.0 | 136,894 | 11/22/2022 |