10 references to _app
Aspire.Hosting.Testing.Tests (10)
TestingFactoryTests.cs (10)
23var workerEndpoint = _app.GetEndpoint("myworker1", "myendpoint1"); 33var connectionString = await _app.GetConnectionStringAsync("cs"); 34var connectionString2 = await _app.GetConnectionStringAsync("cs2"); 43var appModel = _app.Services.GetRequiredService<DistributedApplicationModel>(); 52await _app.WaitForTextAsync("Application started.", "mywebapp1").WaitAsync(TimeSpan.FromMinutes(1)); 54var httpClient = _app.CreateHttpClientWithResilience("mywebapp1"); 65var appModel = _app.Services.GetRequiredService<IHostEnvironment>(); 74var config = _app.Services.GetRequiredService<IConfiguration>(); 79await _app.ResourceNotifications.WaitForResourceAsync("mywebapp1").WaitAsync(TimeSpan.FromSeconds(60)); 82var httpClient = _app.CreateHttpClientWithResilience("mywebapp1", "https");