O'Reilly logo

ASP.NET MVC Framework Unleashed by Stephen Walther

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 19. Adding Validation

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

image

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required