Copyright
Brief Table of Contents
Table of Contents
Praise for the First Edition
More Praise for the First Edtion
Foreword
Foreword to the First Edition
Preface
Preface to the First Edition
Acknowledgments
About this Book
About the Authors
About the Cover Illustration
1. High-speed fundamentals
Chapter 1. High-speed beginner ramp-up
1.1. Welcome to ASP.NET MVC
1.2. The MVC pattern
1.3. Creating your first ASP.NET MVC 2 project
1.4. Creating controllers and actions
1.5. Creating views
1.6. Improving your application
1.7. Summary
Chapter 2. Presentation model
2.1. The M in MVC
2.2. Delivering the presentation model
2.3. ViewData.Model
2.4. Representing user input
2.4.1. Designing the model
2.4.2. Presenting the input model in a view
2.4.3. Working with the submitted input
2.5. More complex models for both display and input
2.5.1. Designing the model
2.5.2. Working with the input model
2.6. Summary
Chapter 3. View fundamentals
3.1. Introducing views
3.2. Examining the ViewDataDictionary
3.3. Strongly typed views with a view model
3.4. Displaying view model data in a view
3.5. Using strongly typed templates
3.5.1. EditorFor and DisplayFor templates
3.5.2. Built-in templates
3.5.3. Selecting templates
3.5.4. Customizing templates
3.6. Summary