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
                    
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.IISExpress" Version="0.3.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="C3D.Extensions.Aspire.IISExpress" Version="0.3.3" />
                    
Directory.Packages.props
<PackageReference Include="C3D.Extensions.Aspire.IISExpress" />
                    
Project file
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.IISExpress --version 0.3.3
                    
#r "nuget: C3D.Extensions.Aspire.IISExpress, 0.3.3"
                    
#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.IISExpress&version=0.3.3
                    
Install C3D.Extensions.Aspire.IISExpress as a Cake Addin
#tool nuget:?package=C3D.Extensions.Aspire.IISExpress&version=0.3.3
                    
Install C3D.Extensions.Aspire.IISExpress as a Cake Tool

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 the WithTemporaryConfig() and WithDefaultIISExpressEndpoints() 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 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.

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