Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.31 KB

overview.md

File metadata and controls

30 lines (21 loc) · 1.31 KB
title description ms.topic ms.date
.NET Aspire diagnostics overview
Learn about the diagnostics tools and features available in .NET Aspire.
overview
03/25/2024

.NET Aspire diagnostics overview

Several APIs of .NET Aspire are decorated with the xref:System.Diagnostics.CodeAnalysis.ExperimentalAttribute. This attribute indicates that the API is experimental and may be removed or changed in future versions of .NET Aspire. The attribute is used to identify APIs that aren't yet stable and may not be suitable for production use.

AZPROVISION001

.NET Aspire provides various overloads for Azure Provisioning resource types (from the Azure.Provisioning package). The overloads are used to create resources with different configurations. The overloads are experimental and may be removed or changed in future versions of .NET Aspire.

To suppress this diagnostic with the SuppressMessageAttribute, add the following code to your project:

using System.Diagnostics.CodeAnalysis;

[assembly: SuppressMessage("AZPROVISION001", "Justification")]

Alternatively, you can suppress this diagnostic with preprocessor directive by adding the following code to your project:

#pragma warning disable AZPROVISION001
        // API that is causing the warning.
#pragma warning restore AZPROVISION001