C3D.Extensions.Aspire.SystemWebAdapters
0.2.5
dotnet add package C3D.Extensions.Aspire.SystemWebAdapters --version 0.2.5
NuGet\Install-Package C3D.Extensions.Aspire.SystemWebAdapters -Version 0.2.5
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="C3D.Extensions.Aspire.SystemWebAdapters" Version="0.2.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="C3D.Extensions.Aspire.SystemWebAdapters" Version="0.2.5" />
<PackageReference Include="C3D.Extensions.Aspire.SystemWebAdapters" />
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 C3D.Extensions.Aspire.SystemWebAdapters --version 0.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: C3D.Extensions.Aspire.SystemWebAdapters, 0.2.5"
#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.
#addin nuget:?package=C3D.Extensions.Aspire.SystemWebAdapters&version=0.2.5
#tool nuget:?package=C3D.Extensions.Aspire.SystemWebAdapters&version=0.2.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
C3D.Extensions.Aspire.SystemWebAdapters
Extension methods to allow for easy configuration in Aspire of a SystemWeb-Adapters setup with an IISExpress based ASP.NET 4.x project and an ASP.NET Core based project.
Previously this was available directly in the C3D.Extensions.Aspire.IISExpress package but has been moved to this package to separate the concerns.
Example Usage
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="Aspire.AppHost.Sdk" Version="9.2.0" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0-windows</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsAspireHost>true</IsAspireHost>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.2.0" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="C3D.Extensions.Aspire.SystemWebAdapters" Version="0.2.*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SWACore\SWACore.csproj" />
<ProjectReference Include="..\SWAFramework\SWAFramework.csproj" />
</ItemGroup>
</Project>
using Aspire.Hosting;
using Microsoft.Extensions.Hosting;
var builder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions()
{
Args = args,
AllowUnsecuredTransport = true
});
var framework = builder
.AddIISExpressProject<Projects.SWAFramework>("framework")
.WithTemporaryConfig()
.WithDefaultIISExpressEndpoints());
var core = builder.AddProject<Projects.SWACore>("core");
var swa = builder
.AddSystemWebAdapters("swa")
.WithFramework(framework)
.WithCore(core);
builder.Build().Run();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net9.0-windows7.0 is compatible. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows7.0
- Aspire.Hosting (>= 9.2.0)
- C3D.Extensions.Aspire.IISExpress (>= 0.3.3)
-
net9.0-windows7.0
- Aspire.Hosting (>= 9.2.0)
- C3D.Extensions.Aspire.IISExpress (>= 0.3.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
0.2.5 | 225 | 6/13/2025 |