1 write to HostEnvironment
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostBuilder.cs (1)
90
HostEnvironment
= hostEnvironment;
4 references to HostEnvironment
BasicTestApp (1)
Program.cs (1)
34
builder.Services.AddSingleton(new HttpClient { BaseAddress = new Uri(builder.
HostEnvironment
.BaseAddress) });
HostedBlazorWebassemblyApp.Client (1)
Program.cs (1)
24
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.
HostEnvironment
.BaseAddress) });
Microsoft.AspNetCore.Components.WebAssembly.Tests (2)
Hosting\WebAssemblyHostBuilderTest.cs (2)
133
Assert.NotNull(builder.
HostEnvironment
);
134
Assert.True(WebAssemblyHostEnvironmentExtensions.IsDevelopment(builder.
HostEnvironment
));