ExecutableResourceBuilderExtensions
Classstaticnet10.0
Provides extension methods for adding executable resources to the
IDistributedApplicationBuilder application model. namespace Aspire.Hosting;
public static class ExecutableResourceBuilderExtensions{ // ...}7 members
Methods7
Section titled MethodsIResourceBuilder<ExecutableResource> Adds an executable resource to the application model.
AddExecutable(IDistributedApplicationBuilder, string, string, string, object[]?)extensionats ignoredIResourceBuilder<ExecutableResource> Adds an executable resource to the application model.
Adds annotation to
ExecutableResource to support containerization during deployment. Adds annotation to
ExecutableResource to support containerization during deployment. The resulting container image is built, and when the optional buildArgs are provided they're used with docker build --build-arg. PublishAsDockerFile(IResourceBuilder<T>, Action<IResourceBuilder<ContainerResource>>)extensionats export Adds support for containerizing this
ExecutableResource during deployment. The resulting container image is built, and when the optional configure action is provided, it is used to configure the container resource. Sets the command for the executable resource.
Sets the working directory for the executable resource.