Skip to content
Docs Try Aspire

DistributedApplicationOperation

Enum net10.0
📦 Aspire.Hosting v13.1.2
Describes the context in which the AppHost is being executed.
namespace Aspire.Hosting;
public sealed enum DistributedApplicationOperation
Run = 0
AppHost is being run for the purpose of debugging locally.
Publish = 1
AppHost is being run for the purpose of publishing a manifest for deployment.