Click here to Skip to main content
15,895,142 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am getting exception from both within pipe line of mvc and out off pipe line of mvc . I want handle them separately.
Posted
Comments
Sergey Alexandrovich Kryukov 12-Sep-14 10:50am    
So what? Handle them. Any problem?
—SA
hemant malpote 15-Sep-14 1:53am    
I am using AppDomain.CurrentDomain.UnhandledException but it doesn't works.
Sergey Alexandrovich Kryukov 15-Sep-14 10:32am    
"It does not work" is not informative. Please, as a proper question, with all essential detail.
—SA
hemant malpote 16-Sep-14 1:41am    
ok fine.. i had now change the way. I am handling it through HTTPModule. HttpModule has to be register before application initialization. And i want to do DI of ILogger in it. So it does not allow to do it.

About above comment : I can register UnhandledException , but when exception occur into application it does not go to handled method.
Sergey Alexandrovich Kryukov 16-Sep-14 1:58am    
Perhaps I would be able to explain that if you demonstrate this problem on some minimal but comprehensive code sample.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900