1 write to WebHost
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
239WebHost = new ConfigureWebHostBuilder(webHostContext, Configuration, Services);
19 references to WebHost
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
169builder.WebHost.UseStaticWebAssets(); 764builder.WebHost.ConfigureKestrel((context, serverOptions) =>
Aspire.Dashboard.Tests (3)
Integration\DashboardClientAuthTests.cs (1)
80serverAppBuilder.WebHost.ConfigureKestrel(ConfigureKestrel);
Integration\IntegrationTestHelpers.cs (1)
110builder.WebHost.ConfigureKestrel(serverOptions =>
Integration\StartupTests.cs (1)
101preConfigureBuilder: builder => builder.WebHost.UseDefaultServiceProvider(options =>
Aspire.Hosting (2)
Dashboard\DashboardServiceHost.cs (2)
70builder.WebHost.UseKestrelHttpsConfiguration(); 116builder.WebHost.ConfigureKestrel(ConfigureKestrel);
Aspire.Hosting.Native.Core.Tests (1)
TestServices\DcpReadyTestHost.cs (1)
52builder.WebHost.ConfigureKestrel(options =>
Aspire.Hosting.Native.Server (1)
Dashboard\NativeDashboardHost.cs (1)
46builder.WebHost.ConfigureKestrel(options =>
Aspire.Hosting.Tests (2)
Dcp\KubernetesServiceTests.cs (1)
2491builder.WebHost.ConfigureKestrel(options => options.Listen(IPAddress.Loopback, 0, endpoint =>
Health\FriendlyHealthCheckErrorMessagesTests.cs (1)
136webAppBuilder.WebHost.UseUrls("http://127.0.0.1:0");
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
44builder.WebHost.ConfigureKestrel(serverOptions =>
blazor-gateway (2)
BlazorGateway.cs (2)
46builder.WebHost.UseKestrelHttpsConfiguration(); 47builder.WebHost.UseStaticWebAssets();
DotNetHostedAgent (1)
Program.cs (1)
73builder.WebHost.UseUrls($"http://+:{port}");
DotNetInvocationHostedAgent (1)
Program.cs (1)
8builder.WebHost.UseUrls($"http://+:{Environment.GetEnvironmentVariable("DEFAULT_AD_PORT") ?? "8088"}");
FakeIntegrationLibrary (1)
Program.cs (1)
3builder.WebHost.UseUrls($"http://localhost:{port}");
Microsoft.AspNetCore (1)
WebApplicationBuilder.cs (1)
226[MemberNotNull(nameof(Environment), nameof(Host), nameof(WebHost))]
Microsoft.DotNet.HotReload.Watch (1)
src\sdk\src\Dotnet.Watch\AspireService\AspireServerService.cs (1)
213builder.WebHost.ConfigureKestrel(kestrelOptions =>