共用方式為


IDistributedApplicationBuilderExtensions Class

Definition

Extensions to IDistributedApplicationBuilder related to Dapr.

public static class IDistributedApplicationBuilderExtensions
type IDistributedApplicationBuilderExtensions = class
Public Module IDistributedApplicationBuilderExtensions
Inheritance
IDistributedApplicationBuilderExtensions

Methods

AddDapr(IDistributedApplicationBuilder, Action<DaprOptions>)

Adds Dapr support to Aspire, including the ability to add Dapr sidecar to application resource.

AddDaprComponent(IDistributedApplicationBuilder, String, String, DaprComponentOptions)

Adds a Dapr component to the application model.

AddDaprPubSub(IDistributedApplicationBuilder, String, DaprComponentOptions)

Adds a "generic" Dapr pub-sub component to the application model. Aspire will configure an appropriate type when running or deploying.

AddDaprStateStore(IDistributedApplicationBuilder, String, DaprComponentOptions)

Adds a Dapr state store component to the application model. Aspire will configure an appropriate type when running or deploying.

Applies to