21 references to IsPublishMode
Aspire.Hosting (7)
Dashboard\DashboardServiceHost.cs (1)
61if (!options.DashboardEnabled || executionContext.IsPublishMode)
Dcp\DcpHostService.cs (1)
61private bool IsSupported => !_executionContext.IsPublishMode;
DistributedApplicationBuilder.cs (2)
186if (ExecutionContext.IsPublishMode) 354if (ExecutionContext.IsPublishMode)
IDistributedApplicationBuilder.cs (1)
87/// <see cref="DistributedApplicationExecutionContext.IsPublishMode"/> and <see cref="DistributedApplicationExecutionContext.IsRunMode"/>
ProjectResourceBuilderExtensions.cs (2)
311if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode) 384if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppContainerExtensions.cs (1)
36if (!container.ApplicationBuilder.ExecutionContext.IsPublishMode)
AzureContainerAppProjectExtensions.cs (1)
37if (!project.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBExtensions.cs (1)
112if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsExtensions.cs (1)
115if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.Functions (3)
AzureFunctionsProjectResourceExtensions.cs (3)
50if (builder.ExecutionContext.IsPublishMode) 120if (builder.ExecutionContext.IsPublishMode) 157if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.PostgreSQL (1)
AzurePostgresExtensions.cs (1)
207if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.Redis (1)
AzureRedisExtensions.cs (1)
152if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
151if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Azure.Storage (1)
AzureStorageExtensions.cs (1)
91if (builder.ApplicationBuilder.ExecutionContext.IsPublishMode)
Aspire.Hosting.Dapr (1)
DaprDistributedApplicationLifecycleHook.cs (1)
159if (context.ExecutionContext.IsPublishMode)
Aspire.Hosting.Qdrant (1)
QdrantBuilderExtensions.cs (1)
85if (builder.ExecutionContext.IsPublishMode)
WebPubSub.AppHost (1)
Program.cs (1)
10if (builder.ExecutionContext.IsPublishMode)