19 references to IsRunMode
Aspire.Hosting (12)
DistributedApplicationBuilder.cs (2)
213if (ExecutionContext.IsRunMode) 362if (ExecutionContext.IsRunMode)
IDistributedApplicationBuilder.cs (2)
87/// <see cref="DistributedApplicationExecutionContext.IsPublishMode"/> and <see cref="DistributedApplicationExecutionContext.IsRunMode"/> 94/// An example of using the <see cref="DistributedApplicationExecutionContext.IsRunMode"/> property on the <see cref="IDistributedApplicationBuilder"/> via
ParameterResourceBuilderExtensions.cs (5)
117/// <see cref="DistributedApplicationExecutionContext.IsRunMode"/> is <c>true</c> 129if (persist && builder.ExecutionContext.IsRunMode && builder.AppHostAssembly is not null) 279/// The value will be saved to the app host project's user secrets store when <see cref="DistributedApplicationExecutionContext.IsRunMode"/> is <c>true</c>. 309/// The value will be saved to the app host project's user secrets store when <see cref="DistributedApplicationExecutionContext.IsRunMode"/> is <c>true</c>. 327if (builder.ExecutionContext.IsRunMode && builder.AppHostAssembly is not null)
ProjectResourceBuilderExtensions.cs (3)
299if (builder.ApplicationBuilder.ExecutionContext.IsRunMode && builder.ApplicationBuilder.Environment.IsDevelopment()) 410if (builder.ApplicationBuilder.ExecutionContext.IsRunMode) 753var host = builder.ApplicationBuilder.ExecutionContext.IsRunMode &&
Aspire.Hosting.Azure.ApplicationInsights (1)
AzureApplicationInsightsExtensions.cs (1)
66else if (builder.ExecutionContext.IsRunMode)
Aspire.Hosting.Azure.Sql (1)
AzureSqlExtensions.cs (1)
228if (distributedApplicationBuilder.ExecutionContext.IsRunMode)
Aspire.Hosting.Kafka (2)
KafkaBuilderExtensions.cs (2)
140var bootstrapServers = context.ExecutionContext.IsRunMode 218var advertisedListeners = context.ExecutionContext.IsRunMode
Aspire.Hosting.Keycloak (1)
KeycloakResourceBuilderExtensions.cs (1)
68if (builder.ExecutionContext.IsRunMode)
Aspire.Hosting.PostgreSQL (1)
PostgresBuilderExtensions.cs (1)
345if (context.ExecutionContext.IsRunMode && config.GetValue<bool>("CODESPACES", false))
Aspire.Hosting.RabbitMQ (1)
RabbitMQBuilderExtensions.cs (1)
240if (builder.ApplicationBuilder.ExecutionContext.IsRunMode)