net9.0
namespace Aspire.Hosting
{
    public static class AzureApplicationInsightsExtensions
    {
        [AspireExportIgnore(Reason = "BicepOutputReference is not ATS-compatible. Use the IResourceBuilder<AzureLogAnalyticsWorkspaceResource> overload instead.")]
        public static IResourceBuilder<AzureApplicationInsightsResource!>! WithLogAnalyticsWorkspace(this IResourceBuilder<AzureApplicationInsightsResource!>! builder, BicepOutputReference! workspaceId);
    }
}
.NET
8.09.011.0
Information specific to net9.0
Assembly

Aspire.Hosting.Azure.ApplicationInsights , Version=13.6.5.0, PublicKeyToken=cc7b13ffcd2ddd51

Referencing

Your project needs a package reference to Aspire.Hosting.Azure.ApplicationInsights.

Package Aspire.Hosting.Azure.ApplicationInsights (13.6.5) net8.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API