All articles

#error-handling

2 articles tagged error-handling

Sep 29, 2026.NET

Consistent API Error Handling in ASP.NET Core with ProblemDetails

Standardize ASP.NET Core error responses with ProblemDetails and IExceptionHandler: global handling, validation errors, and what not to leak.

Intermediate4 min read
Jan 19, 2025Fundamentals

Error Handling and Debugging in C#: Writing Robust and Reliable Code

Master error handling and debugging in C# programming. Learn about try-catch blocks, common exceptions, debugging techniques, and best practices for building reliable applications that handle unexpected situations gracefully.

Beginner14 min read