Exception-Handling Blogs | Code2Night.com

Blog results for Tags - #Exception Handling

Exception Handling and Creating Exception Logs in Asp.net MVC

So basically in a MVC Project we often use many controllers for making our web project functional.So one way is to handle exception separately on all of them or we can simple use a Base Controller. A Base controller can be told as a parent controller from which all other controller will inherit.So in that way Exception handling performed on Base Controller will get applied on all controllers which inherits from this controller.

Exception Handling Asp.Net Core

Error Handling in Asp.Net Core has changed a bit from what we used to use in Asp.Net Mvc. Before .Net Core We used to use OnException Methods to handle Exceptions while executing actions But it doesn't' see working in .Net Core as many features are changed.So In this Article we will see how to make exception handling work in Asp.Net Core.