DistributedApplicationModelExtensions
Class static net10.0
Provides extension methods on the
DistributedApplicationModel class. namespace Aspire.Hosting.ApplicationModel;
public static class DistributedApplicationModelExtensions{ // ...}Methods3
Section titled MethodsGetBuildAndPushResources(DistributedApplicationModel)extension Returns the build and push resources from the
DistributedApplicationModel. Build and push resources are those that require building and pushing container images to a registry, and are not marked to be ignored by the manifest publishing callback annotation. GetBuildResources(DistributedApplicationModel)extension Returns the build resources from the
DistributedApplicationModel. Build resources are those that are either build-only containers or project resources, and are not marked to be ignored by the manifest publishing callback annotation. GetComputeResources(DistributedApplicationModel)extension Returns the compute resources from the
DistributedApplicationModel. Compute resources are those that are either containers or project resources, and are not marked to be ignored by the manifest publishing callback annotation.