IDistributedApplicationResourceBuilderExtensions
Class static net10.0
Extensions to
ApplicationModel.IResourceBuilder`1 related to Dapr. namespace Aspire.Hosting;
public static class IDistributedApplicationResourceBuilderExtensions{ // ...} 6 members
Methods6
Section titled MethodsWithDaprSidecar(IResourceBuilder<T>, string)extensionIResourceBuilder<T> Ensures that a Dapr sidecar is started for the resource.
WithDaprSidecar(IResourceBuilder<T>, DaprSidecarOptions?)extensionIResourceBuilder<T> Ensures that a Dapr sidecar is started for the resource.
WithDaprSidecar(IResourceBuilder<T>, Action<IResourceBuilder<IDaprSidecarResource>>)extensionIResourceBuilder<T> Ensures that a Dapr sidecar is started for the resource.
WithOptions(IResourceBuilder<IDaprSidecarResource>, DaprSidecarOptions)extensionIResourceBuilder<IDaprSidecarResource> Configures a Dapr sidecar with the specified options.
WithReference(IResourceBuilder<TDestination>, IResourceBuilder<IDaprComponentResource>)extensionobsoleteIResourceBuilder<TDestination> Associates a Dapr component with the Dapr sidecar started for the resource.
WithReference(IResourceBuilder<IDaprSidecarResource>, IResourceBuilder<IDaprComponentResource>)extensionIResourceBuilder<IDaprSidecarResource> Associates a Dapr component with the Dapr sidecar started for the resource.