net11.0
namespace Aspire.Hosting
{
    public static class ResourceBuilderExtensions
    {
        [AspireExportIgnore(Reason = "Generic debug launch configuration support is not part of the ATS surface.")]
        [Experimental("ASPIREEXTENSION001", UrlFormat = "https://aka.ms/aspire/diagnostics/{0}")]
        public static IResourceBuilder<T>! WithDebugSupport<T, TLaunchConfiguration>(this IResourceBuilder<T>! builder, Func<LaunchConfigurationCallbackContext!, Task<TLaunchConfiguration>!>! launchConfigurationProducer, string! launchConfigurationType)
            where T, IResource!;
    }
}
.NET
8.09.010.011.0
Information specific to net11.0
Assembly

Aspire.Hosting , Version=13.6.0.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.

Package Aspire.Hosting (13.6.0-preview.1.26421.15) net8.0
Preview ASPIREEXTENSION001: This API is marked as experimental.(more details)
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API