# AzureDaprComponentPublishingAnnotation Properties

- Package: [CommunityToolkit.Aspire.Hosting.Azure.Dapr](/reference/api/csharp/communitytoolkit.aspire.hosting.azure.dapr.md)
- Type: [AzureDaprComponentPublishingAnnotation](/reference/api/csharp/communitytoolkit.aspire.hosting.azure.dapr/azuredaprcomponentpublishingannotation.md)
- Kind: `Properties`
- Members: `1`

Represents an annotation that defines a publishing action for Azure Dapr components.

## PublishingAction

- Name: `PublishingAction`
- Modifiers: `get; init`
- Returns: `Action<AzureResourceInfrastructure>`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Azure.Dapr/AzureDaprComponentPublishingAnnotation.cs)

The action to be executed on the `Azure.AzureResourceInfrastructure` during the publishing process. This action allows for customization of the infrastructure configuration.

```csharp
public Action<AzureResourceInfrastructure> PublishingAction { get; init; }
```
