# DaprOptions Properties

- Package: [CommunityToolkit.Aspire.Hosting.Dapr](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr.md)
- Type: [DaprOptions](/reference/api/csharp/communitytoolkit.aspire.hosting.dapr/daproptions.md)
- Kind: `Properties`
- Members: `3`

Options for configuring Dapr.

## DaprPath

- Name: `DaprPath`
- Modifiers: `nullable` `get; set`
- Returns: `string?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Dapr/DaprOptions.cs)

Gets or sets the path to the Dapr CLI.

```csharp
public string? DaprPath { get; set; }
```

## EnableTelemetry

- Name: `EnableTelemetry`
- Modifiers: `nullable` `get; set`
- Returns: `bool?`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Dapr/DaprOptions.cs)

Gets or sets whether Dapr sidecars export telemetry to the Aspire dashboard.

```csharp
public bool? EnableTelemetry { get; set; }
```

## Remarks

Telemetry is enabled by default.

## PublishingConfigurationAction

- Name: `PublishingConfigurationAction`
- Modifiers: `nullable` `get; set`
- Returns: `Action<IResource, DaprSidecarOptions?>`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/30a4b632065206d447183d2baabf6dfb3678d4af/src/CommunityToolkit.Aspire.Hosting.Dapr/DaprOptions.cs)

Gets or sets the action to be executed during the publishing process.

```csharp
public Action<IResource, DaprSidecarOptions?>? PublishingConfigurationAction { get; set; }
```

## Remarks

This property allows customization of the publishing behavior by assigning a delegate that defines the desired operation.
