C3D.Extensions.Aspire.VisualStudioDebug 0.1.6

dotnet add package C3D.Extensions.Aspire.VisualStudioDebug --version 0.1.6                
NuGet\Install-Package C3D.Extensions.Aspire.VisualStudioDebug -Version 0.1.6                
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.VisualStudioDebug" Version="0.1.6" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add C3D.Extensions.Aspire.VisualStudioDebug --version 0.1.6                
#r "nuget: C3D.Extensions.Aspire.VisualStudioDebug, 0.1.6"                
#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.
// Install C3D.Extensions.Aspire.VisualStudioDebug as a Cake Addin
#addin nuget:?package=C3D.Extensions.Aspire.VisualStudioDebug&version=0.1.6

// Install C3D.Extensions.Aspire.VisualStudioDebug as a Cake Tool
#tool nuget:?package=C3D.Extensions.Aspire.VisualStudioDebug&version=0.1.6                

C3D.Extensions.Aspire.VisualStudioDebug

A way to get VisualStudio to attach the debugger for the AspireHost to a running executable project (such as an IISExpressProjectResource). Uses a BackgroundService to montior for the Process Id (via executable.pid) and C3D.Extensions.VisualStudioDebug to manipulate VisualStudio. Appropriate debug engines can be enabled, such as Managed (.NET Framework 4.x) to allow debugging of IIS Express based ASP.Net 4.x Projects. This mechanism could be extended to attach the debugger to apps in docker containers, or other languages such as nodejs.

Eventing

The C3D.Extensions.Aspire.VisualStudioDebug package has eventing enabled that fires BeforeDebugEvent and AfterDebugEvent. This could be listened for, and used to make an http call to any IIS Express based application to start them up after the debugger has attached, or to launch a browser to the endpoint etc.

Health Checks

A Debugger Attached health check is available which can be added to a resource such that it does not go healthy until the debugger is attached.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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. 
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.VisualStudioDebug:

Package Downloads
C3D.Extensions.Aspire.IISExpress

Assembly Version: 0.1.0.0 File Version: 0.1.8.50123 Informational Version: 0.1.8+cbc3ccfa21 Build Configuration: Release

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.6 123 12 days ago
0.1.5 144 14 days ago