66 references to Publish
Aspire.Hosting (3)
ApplicationModel\ResourceExtensions.cs (1)
166(DistributedApplicationOperation.Publish, IManifestExpressionProvider provider) => provider.ValueExpression,
DistributedApplicationBuilder.cs (1)
166"manifest" => new DistributedApplicationExecutionContextOptions(DistributedApplicationOperation.Publish),
DistributedApplicationExecutionContext.cs (1)
64public bool IsPublishMode => Operation == DistributedApplicationOperation.Publish;
Aspire.Hosting.Azure.Tests (30)
AzureBicepResourceTests.cs (7)
337using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 497using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 965using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1193using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1392using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2193using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 2351using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzureContainerAppsTests.cs (20)
23var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 114var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 222var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 354var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 469var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 758var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 854using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 970var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1104var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1281var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1369var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1467var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1571var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1670var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1807var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1826var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1847var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1866var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1886var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 1905var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzureFunctionsTests.cs (1)
155using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
AzurePostgresExtensionsTests.cs (1)
18using var builder = TestDistributedApplicationBuilder.Create(publishMode ? DistributedApplicationOperation.Publish : DistributedApplicationOperation.Run);
AzureSqlExtensionsTests.cs (1)
18using var builder = TestDistributedApplicationBuilder.Create(publishMode ? DistributedApplicationOperation.Publish : DistributedApplicationOperation.Run);
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
120using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.MySql.Tests (1)
AddMySqlTests.cs (1)
29using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.Oracle.Tests (1)
AddOracleTests.cs (1)
28using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.PostgreSQL.Tests (1)
AddPostgresTests.cs (1)
38using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.Qdrant.Tests (1)
AddQdrantTests.cs (1)
31using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.RabbitMQ.Tests (3)
AddRabbitMQTests.cs (3)
27using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 198using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 245using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.SqlServer.Tests (1)
AddSqlServerTests.cs (1)
28using var appBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Aspire.Hosting.Tests (24)
Dashboard\DashboardResourceTests.cs (1)
503using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
Dashboard\TransportOptionsValidatorTests.cs (1)
36var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Publish);
DistributedApplicationBuilderTests.cs (1)
19[InlineData(new string[] { "--publisher", "manifest" }, DistributedApplicationOperation.Publish)]
KestrelConfigTests.cs (4)
214operation: DistributedApplicationOperation.Publish, 281operation: DistributedApplicationOperation.Publish, 312operation: DistributedApplicationOperation.Publish); 349DistributedApplicationOperation operation = DistributedApplicationOperation.Publish,
ProjectResourceTests.cs (4)
304var appBuilder = CreateBuilder(operation: DistributedApplicationOperation.Publish); 318var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 640internal static IDistributedApplicationBuilder CreateBuilder(string[]? args = null, DistributedApplicationOperation operation = DistributedApplicationOperation.Publish) 647if (operation == DistributedApplicationOperation.Publish)
ResourceExtensionsTests.cs (1)
168var env = await container.Resource.GetEnvironmentVariableValuesAsync(DistributedApplicationOperation.Publish).DefaultTimeout();
Utils\EnvironmentVariableEvaluator.cs (1)
39(DistributedApplicationOperation.Publish, IManifestExpressionProvider provider) => provider.ValueExpression,
Utils\ManifestUtils.cs (2)
26var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Publish); 43var executionContext = new DistributedApplicationExecutionContext(DistributedApplicationOperation.Publish);
Utils\TestDistributedApplicationBuilder.cs (1)
38DistributedApplicationOperation.Publish => ["Publishing:Publisher=manifest"],
Utils\VolumeNameGeneratorTests.cs (1)
56var publishBuilder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
WithEndpointTests.cs (2)
458using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish); 520using var builder = TestDistributedApplicationBuilder.Create(DistributedApplicationOperation.Publish);
WithEnvironmentTests.cs (3)
131DistributedApplicationOperation.Publish).DefaultTimeout(); 198var manifestConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(containerB.Resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 260var publishConfig = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(targetBuilder.Resource, DistributedApplicationOperation.Publish).DefaultTimeout();
WithReferenceTests.cs (2)
207var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Publish).DefaultTimeout(); 223var config = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(projectB.Resource, DistributedApplicationOperation.Publish).DefaultTimeout();