Skip to content
Docs Try Aspire

DaprSidecarOptions

Record sealed net10.0
📦 CommunityToolkit.Aspire.Hosting.Dapr v13.0.0
Options for configuring a Dapr sidecar.
namespace CommunityToolkit.Aspire.Hosting.Dapr;
public sealed record DaprSidecarOptions
: System.IEquatable<CommunityToolkit.Aspire.Hosting.Dapr.DaprSidecarOptions>
{
// ...
}
IEquatable<DaprSidecarOptions>
View all constructors
AppChannelAddressget; init
string?
Gets or sets the network address at which the application listens.
AppEndpointget; init
string?
Gets or sets the endpoint of the application the sidecar is connected to.
AppHealthCheckPathget; init
string?
Gets or sets the path used for health checks (HTTP only).
AppHealthProbeIntervalget; init
int?
Gets or sets the interval, in seconds, to probe for the health of the application.
AppHealthProbeTimeoutget; init
int?
Gets or sets the timeout, in milliseconds, for application health probes.
AppHealthThresholdget; init
int?
Gets or sets the number of consecutive failures for the application to be considered unhealthy.
AppIdget; init
string?
Gets or sets the ID for the application, used for service discovery.
AppMaxConcurrencyget; init
int?
Gets or sets the concurrency level of the application (unlimited if omitted).
AppPortget; init
int?
Gets or sets the port on which the application is listening.
AppProtocolget; init
string?
Gets or sets the protocol (i.e. grpc, grpcs, http, https, h2c) the Dapr sidecar uses to talk to the application.
Commandget; init
IImmutableList<string>
Gets or sets the command run by the Dapr CLI as part of starting the sidecar.
Configget; init
string?
Gets or sets the path to the Dapr sidecar configuration file.
DaprGrpcPortget; init
int?
Gets or sets the gRPC port on which the Dapr sidecar should listen.
DaprHttpMaxRequestSizeget; initobsolete
int?
Gets or sets the maximum size, in MB, of a Dapr request body.
DaprHttpPortget; init
int?
Gets or sets the HTTP port on which the Dapr sidecard should listen.
DaprHttpReadBufferSizeget; initobsolete
int?
Gets or sets the maximum size, in KB, of the HTTP header read buffer.
DaprInternalGrpcPortget; init
int?
Gets or sets the gRPC port on which the Dapr sidecar should listen for sidecar-to-sidecar calls.
DaprListenAddressesget; init
string?
Gets or sets a comma (,) delimited list of IP addresses at which the Dapr sidecar will listen.
DaprMaxBodySizeget; init
string?
Gets or sets the max size of request body Inreasing the request max body size to handle large file uploads using http and grpc protocols. Set the value using size units (e.g., 16Mi for 16MB). The default is 4Mi.
DaprReadBufferSizeget; init
string?
Gets or sets the maximum size, read buffer. Increasing max size of http header read buffer in KB to to support larger header values. Set the value using size units, for example 32Ki will support headers up to 32KB . Default is 4Ki for 4KB
EnableApiLoggingget; init
bool?
Gets or sets whether the Dapr sidecar logs API calls at INFO verbosity.
EnableAppHealthCheckget; init
bool?
Gets or sets whether health checks are performed for the application.
EnableProfilingget; init
bool?
Gets or sets whether to perform pprof profiling via the application HTTP endpoint.
LogLevelget; init
string?
Gets or sets the Dapr sidecar log verbosity (i.e. debug, info, warn, error, fatal, or panic).
MetricsPortget; init
int?
Gets or sets the port on which the Dapr sidecar reports metrics.
PlacementHostAddressget; init
string?
Gets or sets the address of the placement service.
ProfilePortget; init
int?
Gets or sets the port on which the Dapr sidecar reports profiling data.
ResourcesPathsget; init
IImmutableSet<string>
Gets or sets the paths of Dapr sidecar resources (i.e. resources).
RunFileget; init
string?
Gets or sets the path to the Dapr run file to run.
RuntimePathget; init
string?
Gets or sets the directory of the Dapr runtime (i.e. daprd).
SchedulerHostAddressget; init
string?
Gets or sets the address of the scheduler service.
UnixDomainSocketget; init
string?
Gets or sets the path to a Unix Domain Socket (UDS) directory.
View all properties
View all methods