2 implementations of Build
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
404public DistributedApplication Build()
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
134public DistributedApplication Build() => _app = _innerBuilder.Build();
158 references to Build
Aspire.Hosting (3)
DistributedApplication.cs (2)
25/// Once the distributed application has been defined use the <see cref="IDistributedApplicationBuilder.Build()"/> method 198/// built using the <see cref="IDistributedApplicationBuilder.Build"/> method.
IDistributedApplicationBuilder.cs (1)
219/// Callers of the <see cref="Build"/> method should only call it once. are responsible for the lifecycle of the
Aspire.Hosting.Containers.Tests (7)
ContainerResourceTests.cs (7)
20using var app = appBuilder.Build(); 39using var app = appBuilder.Build(); 58using var app = appBuilder.Build(); 78using var app = appBuilder.Build(); 114using var app = appBuilder.Build(); 211using var app = appBuilder.Build(); 279using var app = builder.Build();
Aspire.Hosting.Elasticsearch.Tests (3)
AddElasticsearchTests.cs (3)
22using var app = appBuilder.Build(); 83using var app = appBuilder.Build(); 144using var app = appBuilder.Build();
Aspire.Hosting.Garnet.Tests (3)
AddGarnetTests.cs (3)
20using var app = appBuilder.Build(); 48using var app = appBuilder.Build(); 77await using var app = appBuilder.Build();
Aspire.Hosting.Kafka.Tests (2)
AddKafkaTests.cs (2)
21using var app = appBuilder.Build(); 63using var app = appBuilder.Build();
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
22using var app = appBuilder.Build();
Aspire.Hosting.Milvus.Tests (2)
AddMilvusTests.cs (2)
24using var app = appBuilder.Build(); 54using var app = appBuilder.Build();
Aspire.Hosting.MongoDB.Tests (3)
AddMongoDBTests.cs (3)
22using var app = appBuilder.Build(); 50using var app = appBuilder.Build(); 81using var app = appBuilder.Build();
Aspire.Hosting.MySql.Tests (6)
AddMySqlTests.cs (6)
42using var app = appBuilder.Build(); 81using var app = appBuilder.Build(); 119using var app = appBuilder.Build(); 138using var app = appBuilder.Build(); 237using var app = builder.Build(); 280using var app = builder.Build();
Aspire.Hosting.Nats.Tests (4)
AddNatsTests.cs (4)
45using var app = appBuilder.Build(); 74using var app = appBuilder.Build(); 92using var app = appBuilder.Build(); 134using var app = appBuilder.Build();
Aspire.Hosting.Oracle.Tests (5)
AddOracleTests.cs (5)
41using var app = appBuilder.Build(); 80using var app = appBuilder.Build(); 118using var app = appBuilder.Build(); 138using var app = appBuilder.Build(); 161using var app = appBuilder.Build();
Aspire.Hosting.PostgreSQL.Tests (6)
AddPostgresTests.cs (6)
51using var app = appBuilder.Build(); 105using var app = appBuilder.Build(); 173using var app = appBuilder.Build(); 195using var app = appBuilder.Build(); 464using var app = builder.Build(); 511using var app = builder.Build();
Aspire.Hosting.Qdrant.Tests (3)
AddQdrantTests.cs (3)
44using var app = appBuilder.Build(); 83using var app = appBuilder.Build(); 116using var app = appBuilder.Build();
Aspire.Hosting.RabbitMQ.Tests (1)
AddRabbitMQTests.cs (1)
101using var app = appBuilder.Build();
Aspire.Hosting.Redis.Tests (5)
AddRedisTests.cs (5)
29using var app = appBuilder.Build(); 57using var app = appBuilder.Build(); 86using var app = appBuilder.Build(); 211using var app = builder.Build(); 234using var app = builder.Build();
Aspire.Hosting.SqlServer.Tests (3)
AddSqlServerTests.cs (3)
42using var app = appBuilder.Build(); 89using var app = appBuilder.Build(); 111using var app = appBuilder.Build();
Aspire.Hosting.Tests (59)
AddParameterTests.cs (7)
24using var app = appBuilder.Build(); 61using var app = appBuilder.Build(); 108using var app = appBuilder.Build(); 143using var app = appBuilder.Build(); 193using var app = appBuilder.Build(); 250using var app = appBuilder.Build(); 306using var app = appBuilder.Build();
Dcp\DcpExecutorTests.cs (24)
33using var app = builder.Build(); 58using var app = builder.Build(); 116using var app = builder.Build(); 148using var app = builder.Build(); 180using var app = builder.Build(); 213using var app = builder.Build(); 250using var app = builder.Build(); 270using var app = builder.Build(); 304using var app = builder.Build(); 338using var app = builder.Build(); 402using var app = builder.Build(); 424using var app = builder.Build(); 460using var app = builder.Build(); 558using var app = builder.Build(); 664using var app = builder.Build(); 709using var app = builder.Build(); 746using var app = builder.Build(); 781using var app = builder.Build(); 841using var app = builder.Build(); 862using var app = builder.Build(); 898using var app = builder.Build(); 935using var app = builder.Build(); 965using var app = builder.Build(); 1002using var app = builder.Build();
DistributedApplicationBuilderTests.cs (7)
38using var app = appBuilder.Build(); 62using var app = appBuilder.Build(); 98using var app = appBuilder.Build(); 108using var app = appBuilder.Build(); 119using var app = appBuilder.Build(); 156var ex = Assert.Throws<DistributedApplicationException>(appBuilder.Build); 168var ex = Assert.Throws<DistributedApplicationException>(appBuilder.Build);
ExecutableResourceTests.cs (1)
37using var app = appBuilder.Build();
KestrelConfigTests.cs (1)
359DistributedApplication app = appBuilder.Build();
ManifestGenerationTests.cs (2)
98builder.Build().Run(); 120using var program = appBuilder.Build();
Orchestrator\ApplicationOrchestratorTests.cs (1)
26using var app = builder.Build();
ProjectResourceTests.cs (16)
67using var app = appBuilder.Build(); 181using var app = appBuilder.Build(); 208using var app = appBuilder.Build(); 226using var app = appBuilder.Build(); 242using var app = appBuilder.Build(); 290using var app = appBuilder.Build(); 310using var app = appBuilder.Build(); 353using var app = appBuilder.Build(); 375using var app = appBuilder.Build(); 400using var app = appBuilder.Build(); 431using var app = appBuilder.Build(); 449using var app = appBuilder.Build(); 473using var app = appBuilder.Build(); 523using var app = appBuilder.Build(); 585using var app = appBuilder.Build(); 615using var app = appBuilder.Build();
Aspire.Hosting.Valkey.Tests (3)
AddValkeyTests.cs (3)
20using var app = appBuilder.Build(); 48using var app = appBuilder.Build(); 77await using var app = appBuilder.Build();
AzureContainerApps.AppHost (1)
Program.cs (1)
58builder.Build().Run();
AzureFunctionsEndToEnd.AppHost (1)
Program.cs (1)
35builder.Build().Run();
AzureSearch.AppHost (1)
Program.cs (1)
22builder.Build().Run();
AzureStorageEndToEnd.AppHost (1)
Program.cs (1)
29builder.Build().Run();
BicepSample.AppHost (1)
Program.cs (1)
91builder.Build().Run();
BrowserTelemetry.AppHost (1)
Program.cs (1)
20builder.Build().Run();
CdkSample.AppHost (1)
Program.cs (1)
125builder.Build().Run();
CosmosEndToEnd.AppHost (1)
Program.cs (1)
26builder.Build().Run();
CustomResources.AppHost (1)
Program.cs (1)
20builder.Build().Run();
DatabaseMigration.AppHost (1)
Program.cs (1)
25builder.Build().Run();
Elasticsearch.AppHost (1)
Program.cs (1)
23builder.Build().Run();
EventHubs.AppHost (1)
Program.cs (1)
20builder.Build().Run();
HealthChecksSandbox.AppHost (1)
Program.cs (1)
26builder.Build().Run();
KafkaBasic.AppHost (1)
Program.cs (1)
29builder.Build().Run();
Keycloak.AppHost (1)
Program.cs (1)
15builder.Build().Run();
MilvusPlayground.AppHost (1)
Program.cs (1)
10builder.Build().Run();
Mongo.AppHost (1)
Program.cs (1)
49builder.Build().Run();
MySqlDb.AppHost (1)
Program.cs (1)
17builder.Build().Run();
Nats.AppHost (1)
Program.cs (1)
15builder.Build().Run();
OpenAIEndToEnd.AppHost (1)
Program.cs (1)
26builder.Build().Run();
OracleEndToEnd.AppHost (1)
Program.cs (1)
24builder.Build().Run();
Orleans.AppHost (1)
Program.cs (1)
37using var app = builder.Build();
ParameterEndToEnd.AppHost (1)
Program.cs (1)
39builder.Build().Run();
PostgresEndToEnd.AppHost (1)
Program.cs (1)
49builder.Build().Run();
ProxylessEndToEnd.AppHost (1)
Program.cs (1)
33builder.Build().Run();
Python.AppHost (1)
Program.cs (1)
11builder.Build().Run();
Qdrant.AppHost (1)
Program.cs (1)
14builder.Build().Run();
Redis.AppHost (1)
Program.cs (1)
29builder.Build().Run();
Seq.AppHost (1)
Program.cs (1)
22builder.Build().Run();
ServiceBus.AppHost (1)
Program.cs (1)
47builder.Build().Run();
SignalR.AppHost (1)
Program.cs (1)
20builder.Build().Run();
SqlServerEndToEnd.AppHost (1)
Program.cs (1)
36builder.Build().Run();
Stress.AppHost (1)
Program.cs (1)
89builder.Build().Run();
TestingAppHost1.AppHost (1)
Program.cs (1)
22var app = builder.Build();
TestProject.AppHost (1)
TestProgram.cs (1)
126return App ??= AppBuilder.Build();
TestShop.AppHost (1)
Program.cs (1)
61builder.Build().Run();
WaitForSandbox.AppHost (1)
Program.cs (1)
40builder.Build().Run();
WebPubSub.AppHost (1)
Program.cs (1)
15builder.Build().Run();
WithDockerfile.AppHost (1)
Program.cs (1)
25builder.Build().Run();