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
-
1:06:09
Man in America
12 hours agoExposing HAARP's Diabolical Mind Control Tech w/ Leigh Dundas
55.4K33 -
1:47:16
Tundra Tactical
8 hours ago $90.27 earnedGlock Interview From Beyond The Grave//Whats the Future of Home Training??
34K5 -
2:16:35
BlackDiamondGunsandGear
6 hours agoEBT Apocalypse? / Snap Down SHTF / After Hours Armory
13K6 -
14:05
Sideserf Cake Studio
18 hours ago $10.99 earnedHYPERREALISTIC HAND CAKE GLOW-UP (Old vs. New) 💅
43.7K6 -
28:37
marcushouse
19 hours ago $6.02 earnedSpaceX Just Dropped the Biggest Starship Lander Update in Years! 🤯
18.7K6 -
14:54
The Kevin Trudeau Show Limitless
3 days agoThe Hidden Force Running Your Life
94.7K19 -
2:16:35
DLDAfterDark
6 hours ago $3.67 earnedIs The "SnapPocalypse" A Real Concern? Are You Prepared For SHTF? What Are Some Considerations?
18.5K9 -
19:58
TampaAerialMedia
18 hours ago $6.07 earnedKEY LARGO - Florida Keys Part 1 - Snorkeling, Restaurants,
31.2K16 -
1:23
Memology 101
2 days ago $6.03 earnedFar-left ghoul wants conservatives DEAD, warns Dems to get on board or THEY ARE NEXT
26.1K56 -
3:27:27
SavageJayGatsby
8 hours ago🔥🌶️ Spicy Saturday – BITE Edition! 🌶️🔥
54.4K5