Inferred picturefechingservice

This commit is contained in:
2020-01-07 22:43:56 +01:00
parent 383a8720a0
commit 9a48724907
3 changed files with 49 additions and 9 deletions

View File

@ -29,6 +29,7 @@ namespace Blazor3State
services.AddRazorPages();
services.AddServerSideBlazor();
services.AddSingleton<WeatherForecastService>();
services.AddHttpClient();
}
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.