Skip to content
#

aspnetcore

Here are 2,716 public repositories matching this topic...

TanayParikh
TanayParikh commented Jul 7, 2022

It would be useful to print the output from the devserver process, when the launcher fails to get the expected output. According to @thaystg the output does show up in the cmd window, but not in the VS/output window. Can we fix that?

Originally posted by @radical in dotnet/runtime#70841 (comment)

help wanted area-blazor good first issue blazor-wasm
FredCni
FredCni commented Jun 8, 2022

In the "Set the environment" section, the doc refers to setting the value of env variables w/o showing how to do it.
But the goal can be achieved that way. I suggest you add this code snippet:

protected override IHostBuilder CreateHostBuilder() =>
        base.CreateHostBuilder().ConfigureWebHost(x => x.UseEnvironment("integration"));

The derived WebApplicationFactory will therefor

Help wanted Good first issue Source - Docs.ms doc-enhancement

Improve this page

Add a description, image, and links to the aspnetcore topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the aspnetcore topic, visit your repo's landing page and select "manage topics."

Learn more