Blazor WebAssembly : Global Exception Handling using CascadingValue - EP28

Publié le: 03 mai 2021
sur la chaîne: CuriousDrive: Solve Coding Problems & Win Prizes!
9,167
149

Hey Coders,
In this tutorial, I am showing how you can handle exception globally for Blazor WebAssembly applications. I am also showing nice error message to the end user and hiding the stack trace from the browser console.

Logging Exceptions to Database -
   • Blazor WebAssembly : Logging to Datab...  

Blazored Toast Package -
https://github.com/Blazored/Toast

0:00 Introduction & Demo Setup
3:40 Creating Error.razor with CascadingValue
8:15 Using ILogger
10:27 Using Blazored.Toast
12:22 Using IWebAssemblyHostEnvironment
14:26 Clearing Logger Providers
16:01 Reusing Error Component

#Blazor #Global #ExceptionHandling

Subscribe here -    / @curiousdrive  
Talk to us on -   / curiousdrive  

Like our page -   / curiousdrive  
Follow us on -   / curious_drive  
Follow us on -   / curiousdrive  

Make a donation - https://www.paypal.me/curiousdrive
Be a member -   / curiousdrive  

#CuriousDrive #WeLoveCoding


Sur cette page du site, vous pouvez voir la vidéo en ligne Blazor WebAssembly : Global Exception Handling using CascadingValue - EP28 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur CuriousDrive: Solve Coding Problems & Win Prizes! 03 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 9,167 fois et il a aimé 149 téléspectateurs. Bon visionnage!