Mastering Clean Architecture: Advanced Exception Handling With Middleware And Problem Details

Опубликовано: 08 Апрель 2024
на канале: Foad Alavi
735
21

Having a central exception-handling module is essential for Clean Architecture. In this video, we discussed using Action Filters, Middlewares, ExceptionMiddelwares, and on top of that, RFC 9457 and Problem Details, which is the standard for generating responses for errors.

*************This is part 9 *************

I have created a tutorial playlist on clean architecture, and this is the first video of the series. In the playlist, I explain the concept of clean architecture and how to create a project from scratch while discussing the reasons behind each decision. By the end of this series, you will have a solid understanding of clean architecture and be able to easily apply it.

Buy me a coffee: https://buymeacoffee.com/foadalavix
Patreon:   / foadalaviyoutube  

Part 1:    • Master Clean Architecture And N-layer...  
Part 2:    • Setting Up A Clean Architecture Proje...  
Part 3:    • Mastering Clean Architecture: Designi...  
Part 4:    • Mastering Clean Architecture: Buildin...  
Part 5:    • Clean Architecture With .NET 8: Best ...  
Part 6:    • Master Advanced Validation With Clean...  
Part 7:    • Clean Architecture: How To Register S...  
Part 8:    • Clean Architecture And Entity Framewo...  
Part9:    • Mastering Clean Architecture: Advance...  
Part9:    • Mastering Clean Architecture: Advance...  

⏱️VIDEO CHAPTERS⏱️⏱️
00:00 Introduction
00:37 Request LifeCycle
02:29 Action Filter
04:23 UseExceptionHandler
10:29 Problem Details
15:39 Use ProblemDetailsFactory
21:00 Middleware

🔔 Subscribe for more tips just like this:    / @foad_alavi  

GitHubRepo: https://github.com/foadalavi/Developm...

#dotnet #cleanarchitecture #tutorial #fromzerotohero