hi frnds
i went for the interview .interviewer asked me this qus
how to create custom validation in mvc or your project ?
my ans is - using data annonation with attribute so he not satisfied my ans .
please provide the ans and give some example
Know the answer? Post it. Somebody with the same question will find it here.


Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rahul KaushikRank #2,112 · 676 reputationPosted Sep 7, 2017, 8:20 PM EDT
Shraddha TripathiRank #8,160 · 227 reputationPosted Sep 7, 2017, 5:44 AM EDT