IDistributedApplicationBuilderExtensions
Class static net10.0
Extensions to
Hosting.IDistributedApplicationBuilder related to Dapr. namespace Aspire.Hosting;
public static class IDistributedApplicationBuilderExtensions{ // ...}Methods4
Section titled MethodsAddDapr(IDistributedApplicationBuilder, Action<DaprOptions>)extensionIDistributedApplicationBuilder Adds Dapr support to Aspire, including the ability to add Dapr sidecar to application resource.
AddDaprComponent(IDistributedApplicationBuilder, string, string, DaprComponentOptions?)extensionIResourceBuilder<IDaprComponentResource> Adds a Dapr component to the application model.
AddDaprPubSub(IDistributedApplicationBuilder, string, DaprComponentOptions?)extensionIResourceBuilder<IDaprComponentResource> 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?)extensionIResourceBuilder<IDaprComponentResource> Adds a Dapr state store component to the application model. Aspire will configure an appropriate type when running or deploying.