2 implementations of Build
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
392public DistributedApplication Build()
Aspire.Hosting.Tests (1)
Utils\TestDistributedApplicationBuilder.cs (1)
139public DistributedApplication Build() => _app = _innerBuilder.Build();
155 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 (5)
ContainerResourceTests.cs (5)
20using var app = appBuilder.Build(); 39using var app = appBuilder.Build(); 74using var app = appBuilder.Build(); 171using var app = appBuilder.Build(); 239using var app = builder.Build();
Aspire.Hosting.Elasticsearch.Tests (3)
AddElasticsearchTests.cs (3)
22using var app = appBuilder.Build(); 84using var app = appBuilder.Build(); 145using 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)
25using var app = appBuilder.Build(); 56using 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(); 82using var app = appBuilder.Build(); 120using var app = appBuilder.Build(); 139using var app = appBuilder.Build(); 238using var app = builder.Build(); 281using var app = builder.Build();
Aspire.Hosting.Nats.Tests (2)
AddNatsTests.cs (2)
21using var app = appBuilder.Build(); 51using var app = appBuilder.Build();
Aspire.Hosting.Oracle.Tests (5)
AddOracleTests.cs (5)
41using var app = appBuilder.Build(); 81using var app = appBuilder.Build(); 119using var app = appBuilder.Build(); 139using var app = appBuilder.Build(); 163using var app = appBuilder.Build();
Aspire.Hosting.PostgreSQL.Tests (6)
AddPostgresTests.cs (6)
51using var app = appBuilder.Build(); 106using var app = appBuilder.Build(); 174using var app = appBuilder.Build(); 197using var app = appBuilder.Build(); 466using var app = builder.Build(); 513using var app = builder.Build();
Aspire.Hosting.Qdrant.Tests (3)
AddQdrantTests.cs (3)
44using var app = appBuilder.Build(); 83using var app = appBuilder.Build(); 117using var app = appBuilder.Build();
Aspire.Hosting.RabbitMQ.Tests (1)
AddRabbitMQTests.cs (1)
102using 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(); 90using var app = appBuilder.Build(); 113using var app = appBuilder.Build();
Aspire.Hosting.Tests (58)
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\ApplicationExecutorTests.cs (24)
34using var app = builder.Build(); 59using var app = builder.Build(); 111using var app = builder.Build(); 143using var app = builder.Build(); 175using var app = builder.Build(); 208using var app = builder.Build(); 245using var app = builder.Build(); 265using var app = builder.Build(); 299using var app = builder.Build(); 333using var app = builder.Build(); 397using var app = builder.Build(); 419using var app = builder.Build(); 455using var app = builder.Build(); 553using var app = builder.Build(); 659using var app = builder.Build(); 704using var app = builder.Build(); 741using var app = builder.Build(); 776using var app = builder.Build(); 836using var app = builder.Build(); 857using var app = builder.Build(); 893using var app = builder.Build(); 930using var app = builder.Build(); 960using var app = builder.Build(); 980using var app = builder.Build();
DistributedApplicationBuilderTests.cs (7)
37using var app = appBuilder.Build(); 57using var app = appBuilder.Build(); 93using var app = appBuilder.Build(); 103using var app = appBuilder.Build(); 114using var app = appBuilder.Build(); 151var ex = Assert.Throws<DistributedApplicationException>(appBuilder.Build); 163var 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(); 157using var program = appBuilder.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();
AWS.AppHost (1)
Program.cs (1)
34builder.Build().Run();
AWSCDK.AppHost (1)
Program.cs (1)
25builder.Build().Run();
AzureContainerApps.AppHost (1)
Program.cs (1)
58builder.Build().Run();
AzureFunctionsEndToEnd.AppHost (1)
Program.cs (1)
30builder.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)
126builder.Build().Run();
CosmosEndToEnd.AppHost (1)
Program.cs (1)
24builder.Build().Run();
CustomResources.AppHost (1)
Program.cs (1)
20builder.Build().Run();
Dapr.AppHost (1)
Program.cs (1)
36using var app = builder.Build();
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)
24builder.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();
SignalR.AppHost (1)
Program.cs (1)
9builder.Build().Run();
SqlServerEndToEnd.AppHost (1)
Program.cs (1)
36builder.Build().Run();
Stress.AppHost (1)
Program.cs (1)
59builder.Build().Run();
TestingAppHost1.AppHost (1)
Program.cs (1)
22var app = builder.Build();
TestProject.AppHost (1)
TestProgram.cs (1)
127return App ??= AppBuilder.Build();
TestShop.AppHost (1)
Program.cs (1)
60builder.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();