C# Corner
Tech
News
Videos
Forums
Trainings
Books
Live
More
Interviews
Events
Jobs
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Tags
No tag found
Content Filter
Articles
Videos
Blogs
Resources
News
Forums
Interviews
Complexity Level
Beginner
Intermediate
Advanced
Refine by Author
[Clear]
Sourav Kayal(5)
Aarav Patel(3)
Prasham Sabadra(3)
Rahul Bansal(3)
Sardar Mudassar Ali Khan (2)
Nidhi Sharma(2)
Kirtesh Shah(2)
Ajay Kumar(2)
George (2)
Rahul Kumar Saxena(2)
Jasminder Singh(2)
Amit Choudhary(2)
Vithal Wadje(2)
Sandeep Sharma(2)
Pradeep Prajapati(1)
Niharika Gupta(1)
Ananya Desai(1)
Satya Karki(1)
Ck Nitin(1)
Akshay Amin(1)
Mominul Islam(1)
Riya Patel(1)
Ashish Bhatnagar(1)
Kripanshu Kumar(1)
Jaimin Shethiya(1)
Jitendra Mesavaniya(1)
Lokendra Singh(1)
Shaily Dubey(1)
Gurpreet Arora(1)
Alpesh Maniya(1)
Jefferson S. Motta(1)
Ayush Gupta(1)
Harshal Limaye(1)
Tural Suleymani(1)
Jaydeep Patil(1)
Mark Pelf(1)
Anoop Kumar Sharma(1)
Ishika Tiwari(1)
Ganesan C(1)
Jay Krishna Reddy (1)
Aman Gupta(1)
Debasis Saha(1)
Amit Mohanty(1)
Rikam Palkar(1)
Vishvjit Shinde(1)
Lee McGraw(1)
Abubackkar Shithik(1)
Gowtham K(1)
Farhan Ahmed(1)
Sanwar Ranwa(1)
Saravanan Ponnusamy(1)
Prakash Tripathi(1)
Bikesh Srivastava(1)
Priyaranjan K S(1)
Prashant Bansal(1)
Neeraj Kumar(1)
K P Singh Chundawat(1)
Akhil Mittal(1)
Pramod Thakur(1)
Prashant Shinde(1)
Jeetendra Gund(1)
Manish Dwivedi(1)
Chandradev Prasad(1)
Anubhav Chaudhary(1)
Abhijit Patil(1)
Imran Ghani(1)
Pranay Rana(1)
Supreet Tare(1)
Vidya Vrat Agarwal(1)
Raj Kumar(1)
Nitesh Kejriwal(1)
Akkiraju Ivaturi(1)
Praveen Kumar(1)
Abhishek Dubey(1)
Sanjoli Gupta(1)
Vikas Mishra(1)
Vijay Prativadi(1)
Akshay Teotia(1)
Surya Prakash(1)
Davin Martyn(1)
Resources
No resource found
Implementing Enterprise-Grade Global Exception Handling via Custom Middleware
Aug 03, 2026.
Implement enterprise-grade global exception handling in .NET Core using custom middleware for consistent JSON error responses and robust API error management.
Global Exception Handling in ASP.NET Core 8 Using IExceptionHandler
Jul 30, 2026.
Master global exception handling in ASP.NET Core 8 with IExceptionHandler. Centralize errors, simplify controllers, and improve API responses.
Global Exception Handling in ASP.NET Core: Building Consistent and Secure Error Responses
Jul 29, 2026.
Master ASP.NET Core global exception handling for secure, consistent error responses. Centralize, log, and map exceptions for robust applications.
How to Implement AI-Powered Exception Analysis in ASP.NET Core
Jun 30, 2026.
Automate ASP.NET Core exception analysis with AI. Detect root causes, prioritize issues, and get remediation suggestions for faster troubleshooting.
Global Exception Handling in ASP.NET Core Web API
Mar 26, 2026.
Master global exception handling in ASP.NET Core Web API for robust, secure apps. Centralize error management, ensure consistent responses, and improve debugging.
How to Handle Global Exception Handling in ASP.NET Core Web API
Mar 25, 2026.
Centralize error handling in ASP.NET Core Web API for cleaner code, consistent responses, and improved security. Learn to implement global exception handling.
How to Implement Global Exception Handling in ASP.NET Core Web API?
Feb 25, 2026.
Implement robust global exception handling in ASP.NET Core Web API using middleware and IExceptionHandler. Centralize error responses and improve API reliability.
How to Implement Global Exception Handling in ASP.NET Core?
Feb 23, 2026.
Master global exception handling in ASP.NET Core for robust, scalable APIs. Learn to implement middleware, custom exceptions, and standardized error responses.
How to Handle Exception Handling in C# Effectively?
Feb 16, 2026.
Master C# exception handling for robust .NET apps. Learn best practices, avoid common pitfalls, and ensure stability with structured logging and global handling.
Designing a Robust Global Exception Handling Strategy in ASP.NET Core
Oct 28, 2025.
Implement robust ASP.NET Core global exception handling for resilient APIs. Centralize error management, ensure consistent responses, and enhance observability. #dotnet
⚙️ Mastering Exception Handling in .NET Core — Complete Guide with Examples
Oct 28, 2025.
Master .NET Core exception handling! Learn try-catch, global handlers, middleware, custom exceptions, and logging for robust & user-friendly apps.
Chapter 17: Exception Handling: Robust Error Management in C++
Oct 23, 2025.
Master C++ exception handling for robust error management. Learn to gracefully handle unexpected runtime problems using try, catch, and throw. Discover how to use multiple catch blocks, custom exception classes, and RAII (Resource Acquisition Is Initialization) to write cleaner, more reliable code that prevents resource leaks and ensures program stability in the face of errors. Elevate your C++ skills with effective error handling techniques.
ASP.NET Core Error Handling: Master Middleware, Logging & Exception Strategies (Part-20 of 40)
Oct 20, 2025.
Master ASP.NET Core error handling with this comprehensive guide! Learn to implement custom middleware, structured logging with Serilog, and global exception strategies for resilient applications. Explore real-world patterns, API error responses, database resilience, and security considerations. Elevate your application's reliability and user experience through proactive error management and continuous improvement.
How to Handle “Array Out of Bounds” Exception in Java?
Oct 03, 2025.
Learn how to effectively handle the "Array Out of Bounds" exception in Java! This guide explains why this common error occurs when accessing array elements with invalid indices. Discover practical solutions like using array.length in loops, validating indices, and employing try-catch blocks. Plus, explore best practices to prevent this exception, including using ArrayLists for dynamic sizes. Write safer, more reliable Java code today!
Difference between Throw and Throws in Exception Handling
Aug 24, 2025.
Exception handling is an essential part of Java programming that ensures smooth execution of applications even when unexpected errors occur. Two important keywords used in this context are throw and throws.
Best Practices for Exception Handling in ASP.NET Core Web APIs
Aug 01, 2025.
Exception handling is a critical aspect of building robust, secure, and maintainable Web APIs. In ASP.NET Core, handling exceptions gracefully ensures that the API provides meaningful error information to consumers without exposing sensitive internal details or causing the application to crash.
Global Exception Handling in ASP.NET Core Web API
Jan 14, 2025.
Learn how to implement Global Exception Handling in Asp.Net Core WebAPI using Custom Middleware. Handle errors efficiently with ExceptionMiddleware, register it in program.cs, and see how to manage exceptions in your application seamlessly.
Enhanced Exception Handling with IExceptionHandler in .NET Core 8
Nov 28, 2024.
Learn about IExceptionHandler in .NET 8, a robust interface for handling exceptions in ASP.NET Core. Streamline error handling with custom logic, modular design, standardized API responses, and enhanced user-friendly error management.
Exception Filters in ASP.NET Core
Jul 25, 2024.
Exception handling in ASP.NET Core is crucial for application stability. Exception filters provide a centralized way to manage errors, log them, and return custom responses, enhancing maintainability and user experience.
Master Global Exception Handling with IExceptionHandler in .NET
Jul 16, 2024.
Global exception handling in .NET with IExceptionHandler centralizes error management, ensuring consistent responses and improved logging. Our Global Exception Handler Middleware catches exceptions globally, enhancing user experience and maintainability.
Mastering Exception Handling in Python
May 23, 2024.
In this article we will learn about how to handle exceptions in python programming language.
Implement Global Exception Handling Middleware in .NET Project
Mar 07, 2024.
Implementing custom global exception handling in your project involves setting up a system to manage errors across your application. By defining exception classes and configuring error logging, you can ensure smoother error handling and improve the reliability of your software.
Learn Exception Handling in C#
Feb 28, 2024.
Exception Handling in C# is crucial for robust code. Using try-catch blocks, catch blocks, and finally blocks, developers manage unexpected issues gracefully, ensuring dependable and solid applications.
Global Exception Handling in .NET Core with Custom Middleware
Feb 16, 2024.
Global exception handling in .NET Core, utilizing custom middleware, centralizes error management, enhancing resilience and simplifying maintenance. This approach streamlines error handling across the application, promoting consistency and fortifying against unexpected failures.
Fixing Unhandled Exception on the Current Circuit in Blazor
Oct 20, 2023.
Learn how lookout for a solution for the error unhandled exception on the current circuit
Elevate Your .NET 7 API: Exception Handling and Logging Mastery
Oct 05, 2023.
This article explores the best practices for exception handling and logging in .NET 7 APIs, enabling developers to create resilient applications that gracefully handle errors and provide valuable insights for debugging and improvement.
Global Exception Handling In Asp.net Core Web API
Aug 04, 2023.
In the context of ASP.NET Core Web API (or any web application framework), global exception handling involves catching exceptions that occur during the processing of requests and returning appropriate error responses to the clients. Instead of allowing exceptions to propagate to the top-level and exposing technical details to the end-users, global exception handling can convert those exceptions into more informative and standardized error messages in a format such as JSON or XML.
Custom Exception in C#
May 01, 2023.
Today I will let you know about custom exception and how to implement custom exception.
Exception Handling (7), C# Exception Handling Statements
Mar 14, 2023.
This article will discuss Exception Handling Statements.
Creating A Custom Exception In Java
Feb 03, 2023.
In this article, we'll see how we can create and throw our own custom user-defined exceptions in Java.
ASP.NET Core – Exception Handling
Sep 27, 2022.
In this article, we are going to discuss ASP.CORE Exception Handling.
Practical Exception Handling In N-Layered Architecture
Aug 15, 2022.
In this article, you will learn about practical Exception Handling in N-Layered Architecture.
Implementation Of Global Exception Handling Using .NET Core 6 Web API
Aug 08, 2022.
In this article, you will learn how to implement Global Exception Handling using .NET Core 6 Web API.
C# DataAdapter Returning Exception “Failed To Enable Constraints.”
Jul 27, 2022.
We explain how to debug and get more information on the generic exception, “Failed to enable constraints.”
Testing The Exception Thrown In NUnit C#
Jul 25, 2022.
In this article, we will learn how to unit test the code that is throwing an exception in NUnit C#
C# - Exception Handling
May 09, 2022.
In this article, you will learn about C#- Exception Handling.
How To Write Unit Test For Exception And Console Log In C#
Oct 01, 2021.
In this article, we are going to explore about how to write unit test for exception and console log in C#.
A Fix To Exception - Could Not Find Module “@angular-devkit/build-angular”
Aug 24, 2021.
This is a popular exception of Angular. This article gives one solution.
Using Azure Application Insights For Exception Logging In C#
May 27, 2021.
In this article, you will learn how to use Azure Application Insights for Exception Logging in C#.
Learn About Exception Handling In Java
Apr 18, 2021.
Through this article, users will get in-depth knowledge of Exceptions and Exception handling used in Java.
Implement Global Exception Handling In ASP.NET Core Application
Nov 16, 2020.
Explore ASP.NET Core's robust exception handling mechanisms, including global handlers and custom middleware. Learn to implement middleware for comprehensive error management, ensuring smooth application execution and effective debugging.
How To Handle Exception In SQL Server
Oct 08, 2020.
In this article, we will learn how to handle exceptions in SQL Server using the Try-Catch block.
In-Depth Analysis Of Exception Handling In C#
Jul 02, 2020.
In this article, you will learn about In-Depth Analysis of Exception Handling in C#.
Exception Handling In SQL Server
Mar 16, 2020.
In this article, you will learn about exception handling in SQL Server.
Standardization of Performance Monitoring, Logging And Exception Handling Via A .NET Runtime Wrapper
Aug 30, 2019.
In this article, you will learn about standardization of performance monitoring, logging and exception handling via a .net runtime wrapper.
Kotlin - Exception Handling
Aug 05, 2019.
In this article, you will learn about the Exception Handling in Kotlin.
Monitor The Real Time Exception In ASP.NET Core App Using Rollbar
Jun 10, 2019.
From this article, you will learn how to monitor a real-time exception in ASP.NET Core App using Rollbar.
Custom Exception Filter In ASP.NET MVC
May 10, 2019.
In this article, I am going to discuss Custom Exception Filters in MVC with one real-time example.
T/SQL - Exception Handling - Part Five
Sep 28, 2018.
In this article we learned about exception handling in SQL Server, This article is the last article of T/SQL Series. Now, We will start learning MongoDB. I have to prepare some article on MongoDB soon to post the complete series on NoSQL Database.
To Overcome "The Given Key Was Not Present In The Dictionary" Exception In MySQL
Jul 23, 2018.
In this article, I will give one of the solution to overcome “The given key was not present in the dictionary” exception in MySQL.
Logging Exception in Database Using CustomFilter Exception
Oct 11, 2017.
As per request from one of my followers I am writing this article, which will explain how we can handle Errors in an MVC application. In this article I am also going to explain how we can log our exception message in our Data Base.
Working With Out, Exception And Literal Enhancements In C# 7.0
Apr 10, 2017.
This article explains about out, exception and literal related enhancements in C# 7.0 and demonstrates that how to use them in software development.
C# Exception Filters
Feb 12, 2017.
In this article, you will learn about Exception Filters in C#.
SharePoint Online/Office 365 - Resolved Exception "Method Not Found: 'Boolean System.Net.WebResponse.get_SupportsHeaders()'."
Nov 11, 2016.
In this article, I’ll explain how we resolve exception "Method not found: 'Boolean System.Net.WebResponse.get_SupportsHeaders()'.".
Global Exception Filter, Exception Handling And Logging Using Log4Net In Web API 2
Sep 23, 2016.
In this article, I am going to explain how to handle exceptions in MVC Web API applications, using log4net.
JavaScript Object Model Exception Handling In SharePoint
Aug 26, 2016.
In this article, you will learn about JavaScript Object Model exception handling in SharePoint.
SharePoint 2013: Batch Exception Handling
Jun 20, 2016.
In this article, you will learn about batch exception handling in SharePoint 2013.
Python Language Tutorial: Exception Handling - Part Five
May 09, 2016.
In this article you will learn about Exception Handling in Python Language.
Generic Exception Handling Techniques In ASP.NET MVC
Mar 12, 2016.
In this article we will learn various ways of exception handling in ASP.NET MVC.
Why TypeInitialization Exception Has Null Inner Exceptions
Feb 07, 2016.
In this article you will get to know why TypeInitializationException has Null inner exceptions.
Office 365 / SharePoint Online - Resolve An Exception While Retrieving The TaxonomySession Object
Jan 16, 2016.
In this article I’ll explain the issue we face while retrieving the TaxonomySession object from the SharePoint online site.
Resolve 'Only Content controls are allowed' Exception In SharePoint Online / Office 365
Nov 27, 2015.
In this article I will explain how the exception “Only Content controls are allowed directly in a content page that contains Content controls.” occurs and solution to it.
RESTful Day #6: Request Logging And Exception Handing/Logging In Web APIs Using Action Filters, Exception Filters and NLog
Sep 08, 2015.
Day 6 of the RESTful journey focuses on robust request logging and exception handling in Web APIs. Employ Action Filters, Exception Filters, and NLog for comprehensive logging and error management, ensuring reliability and traceability.
Centralize Exception Handling in WCF: Part 10
Jun 08, 2015.
In this article, we will learn how to implement centralized exception handling in WCF using IErrorHandler interface.
Error And Exception Handling in T-SQL
Jan 21, 2015.
In this article you will learn about exception handling in T-SQL.
Errors and Exception Handling in JavaScript: Day 7
Jan 01, 2015.
Here you will learn about errors and Exceptions Handling in JavaScript.
An Interview Session of Exception Handling: Part 1
Dec 24, 2014.
In this article you will learn about Exception Handling (try catch, finally and throw).
Improvement on Exception Handling in C# 6.0
Nov 21, 2014.
In this article, I will explain the improvement of exception handling introduced in C# 6.0
How to Implement Exception Handling in jQuery While Calling Web Service
Oct 23, 2014.
In this article you will learn how to implement exception handling in jQuery while calling a Web Service.
.each() Function in jQuery and Concatinate Some Exception Within .each() Function
Aug 16, 2014.
This article explains how to work on .each() and concatenate some exception within the .each() function.
Getting "Collection Already Contains an Address" Exception in WCF
Apr 09, 2014.
In this article, I will tell you how to eliminate the collection already contains an address Exception in WCF.
Remove the Anonymous Authentication Exception in WCF
Apr 03, 2014.
This article explains how to remove the Anonymous Authentication exception that occurs at the time of a WCF service (3.5 Framework) hosting on IIS.
Fault Exception Concept in WCF
Mar 14, 2014.
In this article, I will explain the Fault Exception in WCF.
Fault Exception and Fault Contract in WCF Services
Feb 16, 2014.
Here, you will learn about the basic concepts of WCF fault exceptions and fault contracts.
User Defined Exception in C#
Feb 06, 2014.
In this article you will learn about user defined exceptions in C#.
Exception Handling in ASP.Net Web API Using Exception Filters
Feb 02, 2014.
This article exlains how to ue Exception Filters for exception handling in the ASP.NET Web API.
Getting Exact Location of Exception in C# Code
Jan 28, 2014.
This article is about determining the exact location of an exception in code.
Logging Exception to Database
Dec 30, 2013.
In this article we will learn about exception logging to the database using ASP.NET.
Logging Exception to Email
Dec 30, 2013.
In this article we will learn about exception Logging Exception to Email using ASP.NET
Handle Exception at Various Levels in ASP.Net Application
Dec 26, 2013.
This article has shown the various levels of Exception Handling in ASP.NET applications and how to handle them.
Centralize Exception Handling in Web API
Dec 19, 2013.
In this article we will implement centralize exception handling mechanism in Web API.
Wrap Your Original Exception in C#
Dec 19, 2013.
Exception handling mechanism is very essential in every application. A good coding stricture does not leave a single piece of code which might give trouble in application.
Web API With AJAX: Exception Handling in jQuery Ajax() Function
Dec 10, 2013.
In this article we will learn to handle exception in Web-API.
Understand WCF: Part 5 : Exception Handling in WCF Application
Nov 02, 2013.
In this article, we will learn how to handle exception in WCF application.
Fixing Win32 Unhandled Exception in Silverlight Web App
Aug 08, 2013.
This article describes diagnosing and fixing a Win32 Unhandled Exception in a Silverlight Web App.
Checked And Unchecked Exception In Java
Jul 22, 2013.
This article explains checked and unchecked exceptions in Java.
Difference Between An Error And Exception in Java
Jul 19, 2013.
In this article we discuss difference between exception and error in Java.
Best Practices - Exception Handling in C# .NET
Jun 25, 2013.
This article talks about best practices of exception handling, and guides you for some common programming mistakes developers do, as that seems appropriate in most of the application written.
Using IOperationInvoker in WCF For Global Exception Handling and Logging
Jun 25, 2013.
In this article, we’ll discuss an Interceptor IOperationInvoker that can be used before and after activity when service actually calls it’s operations.
Enterprise Library: Exception Handling Block 5.0 in ASP.NET
Jun 03, 2013.
In this article, you will learn how to use an exception Microsoft Enterprise Library 5.0 Exception Handling Application Block with real-world example in ASP.Net.
Solution - An Unhandled Exception Occurred in Silverlight Application in SharePoint 2010
Dec 19, 2012.
While working on one of my SharePoint sites today, I started facing a weird issues all of a sudden.
Difference Between Throw Exception and Throw Clause
Aug 06, 2012.
In this article, you will understand the difference between 'throw exception' and 'throw clause' is essential for effective error handling. While 'throw exception' generates and propagates a new exception object, 'throw clause' simply rethrows the current exception, maintaining its original state.
Learn .NET and C# in 60 days Lab 4 - Day 1: Exception handling
Apr 16, 2012.
In this video we will try to understand how to do error handling or Exception handling.
Defining Your Own Exception Class in JAVA (Custom Exception)
Feb 01, 2012.
This article is helpful for making your own exception classes in Java and making your own exception condition.
How to Handle a Custom Exception in C#
Jan 19, 2012.
By using custom exceptions, we can create and handle our own user defined exceptions.
Throwing an Exception in a JSP Page
Jan 04, 2012.
In this article, I am going to describe how to throw an exception in JSP.
Fault Contract Exception in WCF Hosted on Web App
Dec 31, 2011.
Today, in this article let’s try to study and implement this interesting concept. It enables to show a friendly message to user when unexpected values are inputted. It works great. So, we all are good to go and implement this wonderful concept.
Priority and exception handling in Thrading
Nov 27, 2011.
Threads are executed based on their priority levels. High priority threads always get more processor time than their counterparts.
XML Validation with XSD Along With Custom Exception
Nov 01, 2011.
In this article, I will discuss about validating XML against defined XSD. Prior to getting into this article, it is mandatory that one should have basic knowledge on what XML & XSD are.
Work with Exception Handling in Workflow
Oct 10, 2011.
An Exception is an event which occurs during the execution of a program. This article will explain about Exception Handling in Workflow.