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>, IEnumerable<DockerBuildArg>)

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.

Applies to