TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abbas Hamza
NA
100
53k
which method of Exception handling should i use ?
Feb 6 2017 4:53 AM
Hi Guys,
I'm reading about exception handling in MVC, i have came across 6 methods to do that, now i became more confuse on what to use as currently i have multiple controllers that handle database with EF6. my aim is not to show yellow screen for user and display error page reside in view folder. Do i need to create try and catch block in each controller or use a global filter? could any one shed more lights on this issue ?
thank you
Reply
Answers (
2
)
Prevent multiple duplicate data entry into entities database
change the Checkboxlist Value similar to FirstCheckboxlist