Skip to content
Docs Try Aspire
Docs Try

withReference

Method
📦 Aspire.Hosting.Orleans v13.3.0
interface ContainerResource {
// ... omitted for brevity
withReference(orleansServiceClient: OrleansServiceClient): IResourceWithEnvironment;
}

Signature

method withReference builder
Adds an Orleans client reference to a resource
withReference(orleansServiceClient: OrleansServiceClient): IResourceWithEnvironment
orleansServiceClient OrleansServiceClient
IResourceWithEnvironment

Applies to

This method applies to the following types: