Skip to content
DocsTry Aspire
DocsTry

DaprOptions Properties

RecordProperties3 members
Options for configuring Dapr.
DaprPathSection titled DaprPathnullablestring?
Gets or sets the path to the Dapr CLI.
public string? DaprPath { get; set; }
EnableTelemetrySection titled EnableTelemetrynullablebool?
Gets or sets whether Dapr sidecars export telemetry to the Aspire dashboard.
public bool? EnableTelemetry { get; set; }
Telemetry is enabled by default.
PublishingConfigurationActionSection titled PublishingConfigurationActionnullableAction<IResource, DaprSidecarOptions?>
Gets or sets the action to be executed during the publishing process.
public Action<IResource, DaprSidecarOptions?>? PublishingConfigurationAction { get; set; }
This property allows customization of the publishing behavior by assigning a delegate that defines the desired operation.