I am working on a project where we have used few of the web application plateforms & techniques. I need to build a robust exception handling framework for my applications that handles all type of exceptions i.e server exception, unhandled exception, http module exception and custom raised exception etc.
In our projects,
1) we have static ASP.net pages (without code behind) for jQuery menus which uses jquery ajax and custom HttpHandler to fetch the data from the server.
2) some aspx pages load and save application data using jQuery ajax and custom httpHandlers.
3) some functionalities are developed in MVC3 which uses strongly and non strongly type views. Strongly type view save the data through controller on page submit and non strongly type view used jQuery ajax and json to save the data from controller.
4) We are also using HttpModule in our web site to authenticate the user.
Please guide me how to handle exception from multiple sources and display custom error message to the user from asp.net pages and jquery ajax calls?
View Complete Post