Skip to content
Docs Try Aspire

addCSharpAppWithOptions

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addCSharpAppWithOptions(
name: string,
path: string,
configure: callback): CSharpAppResource;
}

Signature

method addCSharpAppWithOptions builder
Adds a C# application resource with configuration options
addCSharpAppWithOptions(name: string, path: string, configure: (obj: ProjectResourceOptions) => void): CSharpAppResource
name string
path string
configure (obj: ProjectResourceOptions) => void
CSharpAppResource

Applies to

This function is an extension method on the following types: