Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have few doubts on Exception filter in MVC

1. Is it possible to write log file using Exception filter
Can we have different approach in MVC exception handling ie

a. Exception Filter in Controller layer
b. ‘Try Catch’ method in Model Layer / other layer / classes like (my customeutil class etc)
Is this a good practice?

2.How do we handle exceptions like IOException, ReadOnlyException, ArgumentOutOfRangeException etc Using exception filter in MVC
Posted

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