List of Figures

 

Chapter 1. High-speed beginner ramp-up

Figure 1.1. The relationship between the model, view, and controller. The solid lines indicate a direct association, and the dashed lines indicate an indirect association. (Graphic and description used with permission from Wikipedia.)

Figure 1.2. The New Project dialog box. Notice the ASP.NET MVC 2 project templates.

Figure 1.3. Visual Studio prompts you to create a unit test project. For now, select No.

Figure 1.4. The default ASP.NET MVC project template is fully functional.

Figure 1.5. The Add Controller dialog box in Visual Studio

Figure 1.6. Right-click on an action to create a view.

Figure 1.7. The Add View dialog box

Figure 1.8. The GuestBook view

Figure 1.9. Submitting the Guest Book form

Figure 1.10. Your data is displayed back to you.

Figure 1.11. Creating a strongly typed view using the Add View dialog box

Chapter 2. Presentation model

Figure 2.1. A table in our user interface

Figure 2.2. A form for user input

Figure 2.3. A combined display and input form

Chapter 3. View fundamentals

Figure 3.1. The current user’s profile page

Figure 3.2. The logon screen

Figure 3.3. The ChangePasswordModel template in the EditorTemplates folder

Figure 3.4. Creating a global Object editor template in the Shared folder

Figure 3.5. The float-based layout enforced by our custom Object template

Chapter 4. Controller basics

Figure 4.1. Storyboard of an application’s user interactions

Figure 4.2. The user edit view