I’m currently working on a blog application in ASP.NET MVC.
I can’t quite figure out how to handle my input validation! As far as I understand the view itself cannot know about input validation!? So how am I going to do this?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Scott Guthrie has written something about ASP.NET MVC Preview 5, and form posting:
ASP.NET MVC Preview 5 and Form Posting Scenarios
It’s a big post, but it walks you through a Form posting validation thingy. Remark that this is not the only way to do it, but it is a way.