When I create a new Blazor WebAssembly Standalone project, it automatically adds an HttpClient in Program.cs -- see below:
builder.Services.AddScoped(sp => new HttpClient { BaseAddress = new Uri(builder.HostEnvironment.BaseAddress) });
Is this necessary and used by the WebAssembly app or is it Microsoft's way of "making my life easier"?