The book is basically divided into three parts. The first part, comprising Chapters 1 through 3, starts with a brief
introduction to ASP.NET and discusses where MVC fits into the whole ASP.NET framework. Chapter 2 describes
the software requirements and the different options for installing ASP.NET MVC 4. Chapter 3 explains the sample
application you are going to build and the tools that you need to build it, and then steps you through the actual
creation and configuration of the sample application.
The second part, Chapters 4 through 6, explains the three core components of the MVC pattern. Chapter 4
examines controllers, including how controllers handle user requests through action methods and how results are
produced. Controllers is the first concept as that’s where it all beings, handling a request from the user. Chapter 5
explains views and how HTML is generated. It shows how to process server-side code with the new Razor view engine
and how to produce appropriate output for desktop and mobile devices. Generating a response to the user is the
second concept as is normally what happens after the request is processed. Finally, Chapter 6 examines models.
It defines the domain model of the application by showing how to create the data model using Entity Framework
and the business models using C# classes. It also examines what view models are and how to use them effectively to
produce the final HTML in the browser.
The third part, Chapters 7–12, examines different aspects of the ASP.NET MVC framework, such as data validation
(Chapter 7), security (Chapter 9), and routing (Chapter 10). Chapter 8 shows you how to work with client-side code
using jQuery and Ajax, and Chapter 11 demonstrates how to test the different aspects of your application using unit
testing. Finally, Chapter 12 explains how to deploy the application to servers you control and to Windows Azure.
I hope that this book gives you a great foundation upon which to start building web applications using
ASP.NET MVC 4.