title: How to acess the appsettings in blazor webassembly
body: <p>I currentying trying to save the api url in an appsettings.
  However, the configuration.Propertiers seems to be empty. I am not sure how to get the setting.
  in program.cs:</p>
  
  <pre><code>public static async Task Main(string[] args)
  {
     var builder = WebAssemblyHostBuilder.CreateDefault(args);
     //string url = builder.Configuration.Properties["APIURL"].ToString();
     foreach (var prop in builder.Configuration.Properties)
        Console.WriteLine($"{prop.Key} : {prop.Value}" );
     //builder.Services.AddSingleton&lt;Service&gt;(new Service(url));
     builder.RootComponents.Add&lt;App&gt;("app");
     await builder.Build().RunAsync();
  }
  </code></pre>