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