10 references to _app
Aspire.Hosting.Testing.Tests (10)
TestingFactoryTests.cs (10)
24var workerEndpoint = _app.GetEndpoint("myworker1", "myendpoint1"); 34var connectionString = await _app.GetConnectionStringAsync("cs"); 35var connectionString2 = await _app.GetConnectionStringAsync("cs2"); 44var appModel = _app.Services.GetRequiredService<DistributedApplicationModel>(); 53await _app.WaitForTextAsync("Application started.", "mywebapp1").WaitAsync(TimeSpan.FromMinutes(1)); 55var httpClient = _app.CreateHttpClientWithResilience("mywebapp1"); 66var appModel = _app.Services.GetRequiredService<IHostEnvironment>(); 75var config = _app.Services.GetRequiredService<IConfiguration>(); 80await _app.ResourceNotifications.WaitForResourceAsync("mywebapp1").WaitAsync(TimeSpan.FromSeconds(60)); 83var httpClient = _app.CreateHttpClientWithResilience("mywebapp1", "https");