Chapter 21. Adding Comments

A blog application that enables only one-way communication is no fun. In this final chapter, we add support for comments to our blog application. We implement the set of user stories in Figure 21.1.

Figure 21.1. User stories

image

We have the following stories related to comments:

  1. A user should be able to add a comment to a particular blog entry. A comment consists of a title, date published, URL, name, email, and text.
  2. After a user adds a comment to a blog entry, the user should see the comment ...

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.