Devendra Kumar

Devendra Kumar

  • 1.5k
  • 415
  • 84.3k

Blazor Webassembly threw exception

Jul 2 2020 7:51 AM
I am trying to do experiment with Blazor with the pre installed template of Home, Counter and Fetch Data
when I ran the client project, Home and counter section rans successfully but the Fetch Data has the following exception
  1. Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]  
  2.       Unhandled exception rendering component: The provided ContentType is not supported; the supported types are 'application/json' and the structured syntax suffix 'application/+json'  
Running server app have no issue, I tried running both server and client simultaneously but the client webassembly have the above exception
Can anyone help me out from the issue 

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (2)