.NETFramework4.7.2net8.0net9.0net10.0
Package Description
Published
Dec 18, 2025
10mo ago
Total Downloads
2.5K
2,483
Install
dotnet add package Aspire.Microsoft.AspNetCore.SystemWebAdapters --version 2.2.1-preview.1.25618.2
| Product | Versions |
|---|---|
| .NET | |
| Other |
README
Aspire.Microsoft.AspNetCore.SystemWebAdapters
Provides .NET Aspire integration for System Web Adapters, automatically configuring settings based on Aspire-provided environment variables.
Getting Started
In your Aspire app host:
var builder = DistributedApplication.CreateBuilder(args);
var frameworkApp = builder.AddIISExpressProject<Projects.MyFrameworkApp>("framework");
var coreApp = builder.AddProject<Projects.MyCoreApp>("core")
.WithIncrementalMigrationFallback(frameworkApp, options =>
{
options.RemoteSession = RemoteSession.Enabled;
options.RemoteAuthentication = RemoteAuthentication.DefaultScheme;
});
builder.Build().Run();
In your ASP.NET Core app:
// Automatically configured from Aspire environment
builder.AddSystemWebAdapters();
In your ASP.NET Framework app (Global.asax.cs):
protected void Application_Start()
{
HttpApplicationHost.RegisterHost(builder =>
{
builder.AddSystemWebAdapters(); // Auto-configured
});
}
Additional Documentation
Changes from Previous Version
No structural changes between v2.2.0-preview.1.25610.2 and v2.2.1-preview.1.25618.2.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.