addDotnetProject

Method
📦 Aspire.Hosting.Dotnet v17.0.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDotnetProject(
name: string,
path: string,
options?: DotnetProjectOptions): DotnetProjectResource;
}

Signature

methodaddDotnetProjectbuilder
Adds a .NET application resource.
addDotnetProject(
name: string,
path: string,
options?: DotnetProjectOptions): DotnetProjectResource
namestring
pathstring
optionsDotnetProjectOptionsoptional
DotnetProjectResource

Applies to

This method applies to the following types: