|
|
@@ -13,7 +13,7 @@ namespace BlazorHosted_CSharp.Server
|
|
|
// For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=398940
|
|
|
public void ConfigureServices(IServiceCollection services)
|
|
|
{
|
|
|
- services.AddMvc();
|
|
|
+ services.AddMvc().AddNewtonsoftJson();
|
|
|
services.AddResponseCompression();
|
|
|
}
|
|
|
|