it looks the api calls redirect to login rather than return a 401 error on access denied.
Problem with Hosted Blazor app not getting json result from api calls
Jai Holloway
60
Reputation points
Hi there
I wrote an app about 2 years ago that has been running fine, but this month the published version of the app no longer functions. Each call to an api, although I get a 200, returns html as the response. All calls to the api's return html.
I ran it locally in debug and it works as expected, it's just the published version that doesn't work. I tried remote debugging, but it doesn't load the symbols for the client and that is what I need to debug.
I don't know what caused this behaviour and it's a business critical app. Any help would be appreciated.
Developer technologies | C#
11,582 questions
1 answer
Sort by: Most helpful
-
Bruce (SqlWork.com) 78,316 Reputation points Volunteer Moderator
2025-05-29T16:56:27.29+00:00