Category / Section
How to use the Bold Reports with ASP.NET Core 3.1
Published:
Updated:
This is applicable only for for the Bold Reports version before 2.3.27. Since, the latest version is not required this setting.
We are using Json.NET serializer for Report Service which has been removed from ASP.NET Core 3.1 shared framework. So, you have to use AddNewtonsoftJson() with services to works with Json.NET serializer as per the migration information from .NET Core 3.1
Migrate from ASP.NET Core 2.2 to 3.1
- Add a package reference to Microsoft.AspNetCore.Mvc.NewtonsoftJson
- Update
Startup.ConfigureServicesto call AddNewtonsoftJson.
public void ConfigureServices(IServiceCollection services)
{
…
…
services.AddNewtonsoftJson();
}