153 references to StartAsync
Aspire.Hosting (1)
DistributedApplication.cs (1)
367Task IHost.StartAsync(CancellationToken cancellationToken) => StartAsync(cancellationToken);
Aspire.Hosting.Azure.Tests (16)
AzureCosmosDBEmulatorFunctionalTests.cs (4)
44var pendingStart = app.StartAsync(cts.Token); 90await app.StartAsync(); 160await app.StartAsync(); 206await app.StartAsync();
AzureEventHubsExtensionsTests.cs (2)
45var pendingStart = app.StartAsync(cts.Token); 75await app.StartAsync();
AzureFunctionsTests.cs (2)
121await host.StartAsync(); 142await host.StartAsync();
AzureResourceOptionsTests.cs (1)
42await app.StartAsync();
AzureServiceBusExtensionsTests.cs (5)
208var pendingStart = app.StartAsync(cts.Token); 239await app.StartAsync(); 468await app.StartAsync(); 563await app.StartAsync(); 610await app.StartAsync();
AzureStorageEmulatorFunctionalTests.cs (2)
46var pendingStart = app.StartAsync(cts.Token); 75await app.StartAsync();
Aspire.Hosting.Containers.Tests (6)
WithDockerfileTests.cs (6)
37await app.StartAsync(); 69await app.StartAsync(); 101await app.StartAsync(); 134await app.StartAsync(); 361await app.StartAsync(); 431await app.StartAsync();
Aspire.Hosting.Elasticsearch.Tests (4)
ElasticsearchFunctionalTests.cs (4)
43await app.StartAsync(); 104await app.StartAsync(); 149await app.StartAsync(); 227var pendingStart = app.StartAsync(cts.Token);
Aspire.Hosting.Garnet.Tests (4)
GarnetFunctionalTests.cs (4)
40var pendingStart = app.StartAsync(cts.Token); 74await app.StartAsync(); 152await app.StartAsync(); 203await app.StartAsync();
Aspire.Hosting.Kafka.Tests (4)
KafkaFunctionalTests.cs (4)
41var pendingStart = app.StartAsync(cts.Token); 72await app.StartAsync(); 162await app.StartAsync(); 214await app.StartAsync();
Aspire.Hosting.Milvus.Tests (3)
MilvusFunctionalTests.cs (3)
30await app.StartAsync(); 102await app.StartAsync(); 150await app.StartAsync();
Aspire.Hosting.MongoDB.Tests (5)
MongoDbFunctionalTests.cs (5)
52var pendingStart = app.StartAsync(cts.Token); 85await app.StartAsync(); 144await app.StartAsync(); 191await app.StartAsync(); 313await app.StartAsync();
Aspire.Hosting.MySql.Tests (6)
MySqlFunctionalTests.cs (6)
48var pendingStart = app.StartAsync(cts.Token); 85await app.StartAsync(); 156await app.StartAsync(); 226await app.StartAsync(); 334await app.StartAsync(); 404await app.StartAsync();
Aspire.Hosting.Nats.Tests (6)
NatsFunctionalTests.cs (6)
35await app.StartAsync(); 80await app.StartAsync(); 124await app.StartAsync(); 185await app.StartAsync(); 233await app.StartAsync(); 343var pendingStart = app.StartAsync(cts.Token);
Aspire.Hosting.Oracle.Tests (5)
OracleFunctionalTests.cs (5)
46await app.StartAsync(cts.Token); 127await app.StartAsync(); 188await app.StartAsync(); 304await app.StartAsync(); 371var pendingStart = app.StartAsync(cts.Token);
Aspire.Hosting.PostgreSQL.Tests (7)
PostgresFunctionalTests.cs (7)
51var pendingStart = app.StartAsync(cts.Token); 88await app.StartAsync(); 117await app.StartAsync(); 165await app.StartAsync(); 231await app.StartAsync(); 293await app.StartAsync(); 386await app.StartAsync();
Aspire.Hosting.Python.Tests (1)
AddPythonAppTests.cs (1)
95await app.StartAsync();
Aspire.Hosting.Qdrant.Tests (4)
QdrantFunctionalTests.cs (4)
40await app.StartAsync(); 123await app.StartAsync(); 168await app.StartAsync(); 243var pendingStart = app.StartAsync(cts.Token);
Aspire.Hosting.RabbitMQ.Tests (4)
RabbitMQFunctionalTests.cs (4)
42var pendingStart = app.StartAsync(cts.Token); 71await app.StartAsync(); 130await app.StartAsync(); 187await app.StartAsync();
Aspire.Hosting.Redis.Tests (14)
RedisFunctionalTests.cs (14)
46var pendingStart = app.StartAsync(cts.Token); 77await app.StartAsync(); 99await app.StartAsync(); 165await app1.StartAsync(cts.Token); 202await app2.StartAsync(cts.Token); 254await app.StartAsync(); 309await app.StartAsync(); 346await app.StartAsync(); 395await app.StartAsync(); 431await app.StartAsync(); 479await app.StartAsync(); 510await app.StartAsync(); 574await app.StartAsync(); 617await app.StartAsync();
Aspire.Hosting.SqlServer.Tests (4)
SqlServerFunctionalTests.cs (4)
42var pendingStart = app.StartAsync(cts.Token); 77await app.StartAsync(cts.Token); 177await app1.StartAsync(); 260await app2.StartAsync();
Aspire.Hosting.Testing.Tests (7)
TestingBuilderTests.cs (7)
114await app.StartAsync(); 137await app.StartAsync(); 155await app.StartAsync(); 189await app.StartAsync(); 204await app.StartAsync(); 258var exception = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync().WaitAsync(cts.Token)); 269await app.StartAsync().WaitAsync(cts.Token);
Aspire.Hosting.Tests (46)
Codespaces\CodespacesUrlRewriterTests.cs (2)
35await app.StartAsync(abortToken.Token); 73await app.StartAsync(abortToken.Token);
DistributedApplicationTests.cs (20)
156await app.StartAsync().DefaultTimeout(); 194await app.StartAsync().DefaultTimeout(); 249await app.StartAsync().DefaultTimeout(); 283await app.StartAsync().DefaultTimeout(); 320await app.StartAsync().DefaultTimeout(); 361await app.StartAsync().DefaultTimeout(); 414await app.StartAsync().DefaultTimeout(); 453await app.StartAsync().DefaultTimeout(); 484await app.StartAsync().DefaultTimeout(); 513await app.StartAsync().DefaultTimeout(); 542await app.StartAsync().DefaultTimeout(); 572await app.StartAsync().DefaultTimeout(); 598await app.StartAsync().DefaultTimeout(); 659var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync()).DefaultTimeout(); 678var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync()).DefaultTimeout(); 699await app.StartAsync().DefaultTimeout(); 741await app.StartAsync().DefaultTimeout(); 806await app.StartAsync().DefaultTimeout(); 851var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => app.StartAsync()).DefaultTimeout(); 873await app.StartAsync().DefaultTimeout();
Eventing\DistributedApplicationBuilderEventingTests.cs (3)
191await app.StartAsync().DefaultTimeout(); 218await app.StartAsync(); 257await app.StartAsync();
Health\ResourceHealthCheckServiceTests.cs (9)
27await app.StartAsync().DefaultTimeout(); 61await app.StartAsync().DefaultTimeout(); 106await app.StartAsync(abortTokenSource.Token).DefaultTimeout(); 153await app.StartAsync(abortTokenSource.Token).DefaultTimeout(); 190var pendingStart = app.StartAsync(); 222var pendingStart = app.StartAsync().DefaultTimeout(); 269var pendingStart = app.StartAsync().DefaultTimeout(TestConstants.LongTimeoutDuration); 329var pendingStart = app.StartAsync().DefaultTimeout(); 382var pendingStart = app.StartAsync();
HealthCheckTests.cs (4)
31await app.StartAsync(); 53await app.StartAsync(); 84var pendingStart = app.StartAsync(); 119await app.StartAsync();
TestProgramFixture.cs (1)
35await _app.StartAsync(cts.Token);
WaitForTests.cs (7)
29await app.StartAsync(abortCts.Token); 100var startTask = app.StartAsync(startupCts.Token); 141var startTask = app.StartAsync(startupCts.Token); 189var startTask = app.StartAsync(startupCts.Token); 237var startTask = app.StartAsync(startupCts.Token); 286var startTask = app.StartAsync(startupCts.Token); 320var startTask = app.StartAsync(startupCts.Token);
Aspire.Hosting.Valkey.Tests (4)
ValkeyFunctionalTests.cs (4)
30await app.StartAsync(); 89await app.StartAsync(); 141await app.StartAsync(); 217var pendingStart = app.StartAsync(cts.Token);
Aspire.Playground.Tests (1)
AppHostTests.cs (1)
44await app.StartAsync();
TestingAppHost1.AppHost (1)
Program.cs (1)
29await app.StartAsync();