Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

DistributedApplicationModel

Handle
📦 Aspire.Hosting v13.6.0
interface DistributedApplicationModel {
findResourceByName(name: string): IResource;
getResources(): IResource[];
}

Methods

Finds a resource by name.
findResourceByName(name: string): IResource
namestring
IResource
Gets all resources in the distributed application model.
getResources(): IResource[]
IResource[]