Skip to content
Docs Try Aspire

DistributedApplicationOperation

Enum net8.0
📦 Aspire.Hosting v13.2.0
Describes the context in which the AppHost is being executed.
namespace Aspire.Hosting;
public 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.