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
-
32:10
Nikko Ortiz
13 hours agoSecret Agent Infiltrates Neo-Nazis...
4.68K5 -
15:04
MetatronGaming
1 day agoOriginal Commodore 64 VS C64 Maxi - Review and Comparison
6.38K3 -
9:46
MattMorseTV
12 hours ago $9.10 earnedTrump just SHUT DOWN a $287,000,000 FRAUD RING.
10.9K60 -
15:48
GritsGG
14 hours agoWinning a Rare Solos Prison End Game on Warzone!
5.07K -
11:37
The Pascal Show
14 hours ago $1.19 earnedTHEY WANT TO END HER?! Candace Owens Claims French President & First Lady Put A H*t Out On Her?!
4.88K4 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
312 watching -
24:30
DeVory Darkins
15 hours agoMarjorie Taylor Greene RESIGNS as Minnesota dealt MAJOR BLOW after fraud scheme exposed
70.8K117 -
2:19:48
Badlands Media
1 day agoDevolution Power Hour Ep. 409: Panic in the Narrative — Epstein, Israel, and the Manufactured Meltdowns
161K56 -
1:52:38
Man in America
12 hours agoCommunists VS Zionists & the Collapse of the American Empire w/ Michael Yon
69.9K39 -
4:09:34
Akademiks
7 hours agoSheck Wes exposes Fake Industry. Future Not supportin his mans? D4VD had help w disposing his ex?
42.2K3