C3D.Extensions.Aspire.IISExpress
0.3.3
dotnet add package C3D.Extensions.Aspire.IISExpress --version 0.3.3
NuGet\Install-Package C3D.Extensions.Aspire.IISExpress -Version 0.3.3
<PackageReference Include="C3D.Extensions.Aspire.IISExpress" Version="0.3.3" />
<PackageVersion Include="C3D.Extensions.Aspire.IISExpress" Version="0.3.3" />
<PackageReference Include="C3D.Extensions.Aspire.IISExpress" />
paket add C3D.Extensions.Aspire.IISExpress --version 0.3.3
#r "nuget: C3D.Extensions.Aspire.IISExpress, 0.3.3"
#addin nuget:?package=C3D.Extensions.Aspire.IISExpress&version=0.3.3
#tool nuget:?package=C3D.Extensions.Aspire.IISExpress&version=0.3.3
C3D.Extensions.Aspire.IISExpress
A way to reference and execute an IIS Express based project (ASP.NET 4.x) using Aspire. Connects to the instance of VisualStudio running the AprireHost and attaches the debugger to the IIS Express instance so that the project can be debugged as normal. Adds a healthcheck to the IIS Express resource to show whether the debugger has been attached. A future option would be to send the initial request to spin up the site once the debugger is attached.
Breaking Changes
From version 0.3 onwards, the SystemWebAdapters extensions are no longer included in this package.
If you were using the SystemWebAdapters extensions, you will need to add a reference to the C3D.Extensions.Aspire.SystemWebAdapters
package instead.
Known Issues
- The
$(SolutionDir)\.vs\$(SolutionName)\config\applicationhost.config
file is not normally checked in as part of the source. It will be recreated with default properties from the aspire configuration. If you need to run the web application manually, the visual studio may create it for you. You can control how this is handled by using theWithTemporaryConfig()
andWithDefaultIISExpressEndpoints()
methods. See the SWA sample for an example of how to use these methods. - There is no 'easy' way to automatically start up the IIS Express based website - SystemWeb applications start-up on their first web request. You can add a healthcheck to trigger this.
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. |
-
net8.0-windows7.0
- Aspire.Hosting (>= 9.2.0)
- C3D.Extensions.Aspire.VisualStudioDebug (>= 0.1.43)
-
net9.0-windows7.0
- Aspire.Hosting (>= 9.2.0)
- C3D.Extensions.Aspire.VisualStudioDebug (>= 0.1.43)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on C3D.Extensions.Aspire.IISExpress:
Package | Downloads |
---|---|
C3D.Extensions.Aspire.SystemWebAdapters
Assembly Version: 0.2.0.0 File Version: 0.2.5.21806 Informational Version: 0.2.5+2e55fc0e8a Build Configuration: Release |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.3.3 | 218 | 6/13/2025 |
0.2.29 | 270 | 6/12/2025 |
0.2.26 | 278 | 6/10/2025 |
0.2.24 | 62 | 6/7/2025 |
0.2.20 | 281 | 5/12/2025 |
0.2.12 | 141 | 5/1/2025 |
0.2.8 | 145 | 5/1/2025 |
0.2.5 | 137 | 4/30/2025 |
0.1.30 | 155 | 4/24/2025 |
0.1.28 | 152 | 4/23/2025 |
0.1.26 | 160 | 4/20/2025 |
0.1.22 | 77 | 4/19/2025 |
0.1.21 | 129 | 3/28/2025 |
0.1.14 | 141 | 3/26/2025 |
0.1.10 | 461 | 3/26/2025 |
0.1.8 | 131 | 3/14/2025 |
0.1.7 | 154 | 3/12/2025 |