Chapter 2. Hello MVC world


This chapter covers
  • Setting up your development environment
  • Creating your first ASP.NET MVC application
  • Introducing controllers, actions, and views
  • Accessing a simple data access


In this chapter, we’ll introduce the Guestbook application that will be our example for the rest of part 1 of this book. The Guestbook is a simple application that will allow users to post their name and a message to the site, and to see the messages posted by other users. Although the concept for the Guestbook is simple, we’ll use it to explore the core components of ASP.NET MVC.

Throughout part 1 of the book, we’ll build up this example. We’ll begin by looking at the development tools that need to be installed in order to work with ...

Get ASP.NET MVC 4 in Action 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.