This is driving me crazy , I have an app that works local but when deployed to windows server 2019 I get the error that say
and when I inspect the browser console I get this
I get no errors in the windows event logs , I have installed .net 6 hosting bundle, when run the console app alone it does not have any errors.
Has anyone came across this?
So this ended up being an access issue. For whatever reason the exception was not being logged, and since the response was coming back as HTML it explains the "unexpected token" error in the browser console.
So far , I really love blazor , but debugging is a little cumbersome.