IDistributedApplicationBuilder.AppHostDirectory Property

Definition

Directory of the project where the app host is located. Defaults to the content root if there's no project.

C#
public string AppHostDirectory { get; }

Property Value

Applies to

Product Versions
.NET Aspire 8.0.0, 9.0.0, 9.1.0