Premium Only Content

API Error Handling with Result Pattern in C# .NET
Instead of throwing custom exceptions and handle those globally, let's try an alternative approach that return success or failure results explicitly for our C# .NET APIs.
Find the code: https://www.patreon.com/posts/api-error-with-c-96007416
More code: https://www.kiss-code.com/products
00:00 Intro
00:44 Why to pick which?
02:00 Sources
02:30 Exception Handling Recap
04:30 Error Objects
11:52 Return Results
15:07 Handle Results
20:00 Result Extension
21:55 Final Thoughts
22:56 Outro
#exceptions #dotnet #csharp #webapi #serilog #logging #monitoring #api #webdevelopment #fullstack #fullstacksoftwareengineering #backend #docker #azure #containerization #devops #cloud #microsoft #entityframework #identityframework #mssqlserver #mssql #cleanarchitecture #authentication #api #development #local #web #authorization #jwt #bearer #cqrs #mediatr #webapi #cors #http #stateless #webscraping #workers #migration #modular #monolith #verticalslicearchitecture #minimalapi #ratelimit #origin #host #result #pattern
-
LIVE
FreshandFit
46 minutes agoYou Will Always Be Cheated On & This Is Why!
519 watching -
LIVE
Man in America
5 hours agoOrder From CHAOS: Epstein, Israel & Ancient Bloodlines w/ Todd Callender
7,629 watching -
LIVE
TimcastIRL
3 hours agoBREAKING: Trump Diagnosed With Chronic Vein Disease, Covers Bruised Hands With Make Up | Timcast IRL
7,711 watching -
2:44:58
Barry Cunningham
3 hours agoPRESIDENT TRUMP IS LEADING AMERICA TO PROSPERITY! WHAT A DAY!
35.4K19 -
LIVE
Alex Zedra
1 hour agoLIVE! Playing CoD
360 watching -
2:32:33
The Quartering
2 hours agoTrump Epstein "Bombshell" From Wall St. Journal Then Expedition 33!
49.1K8 -
LIVE
SpartakusLIVE
4 hours ago$1,000 Spartakus Gauntlet on VERDANSK for the FIRST TIME || TrulyEvil, Enzo Alder, Firefighter MDO
266 watching -
1:21:42
AimControllers
2 hours ago $0.37 earned🔴LIVE - TRIVIA NIGHT WITH PRIZES COME PLAY!
11.8K1 -
1:45:13
RiftTV
4 hours agoLast Catholic Church in Gaza DESTROYED, Targeted by IDF? | The Rift | with Sarah Stock & Anna Perez
36.9K18 -
LIVE
PudgeTV
3 hours ago🟢PEAK - Gaming on Rumble | Community Gaming Night
48 watching