Handle exceptions in Blazor Server App

Ameet 1 Reputation point
2022-06-07T08:17:11.963+00:00

We use Blazor Server app for our UI which calls APIs for almost all functions. When an API responds with an error code, what is the best way to show this response and not make the app break the circuit and become unresponsive.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,650 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.