Chapter 19. Adding Validation
In This Chapter
In this chapter, we tackle adding validation and business rules to our blog application. As always, we begin with a set of stories (see Figure 19.1).
Figure 19.1. User stories
We need to implement the following stories:
• If a user submits a blog entry without a title, the validation error message “Title Is Required” displays.
• If a user submits a blog entry with a title longer ...
Get ASP.NET MVC Framework Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.