.NET Aspire diagnostics overview
Several APIs of .NET Aspire are decorated with the 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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈