Skip to content
Docs Try Aspire

AzureDaprComponentPublishingAnnotation

Record net10.0
📦 CommunityToolkit.Aspire.Hosting.Azure.Dapr v13.0.0
Represents an annotation that defines a publishing action for Azure Dapr components.
namespace CommunityToolkit.Aspire.Hosting.Azure.Dapr;
public record AzureDaprComponentPublishingAnnotation
: Aspire.Hosting.ApplicationModel.IResourceAnnotation,
System.IEquatable<CommunityToolkit.Aspire.Hosting.Azure.Dapr.AzureDaprComponentPublishingAnnotation>
{
// ...
}
IResourceAnnotationIEquatable<AzureDaprComponentPublishingAnnotation>
This annotation is used to specify a custom action that is executed during the publishing process of Azure Dapr components. The action is applied to the provided Azure.AzureResourceInfrastructure instance, allowing customization of the resource infrastructure.