Share via


ExecutableResourceBuilderExtensions Class

Definition

Provides extension methods for adding executable resources to the IDistributedApplicationBuilder application model.

public static class ExecutableResourceBuilderExtensions
type ExecutableResourceBuilderExtensions = class
Public Module ExecutableResourceBuilderExtensions
Inheritance
ExecutableResourceBuilderExtensions

Methods

AddExecutable(IDistributedApplicationBuilder, String, String, String, Object[])

Adds an executable resource to the application model.

AddExecutable(IDistributedApplicationBuilder, String, String, String, String[])

Adds an executable resource to the application model.

PublishAsDockerFile<T>(IResourceBuilder<T>, Action<IResourceBuilder<ContainerResource>>)

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.

PublishAsDockerFile<T>(IResourceBuilder<T>, IEnumerable<DockerBuildArg>)
Obsolete.

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<T>(IResourceBuilder<T>)

Adds annotation to ExecutableResource to support containerization during deployment.

Applies to