List of Listings
Chapter 1. High-speed beginner ramp-up
Listing 1.1. Route definitions
Listing 1.2. The HomeController class
Listing 1.3. The Index.aspx view
Listing 1.4. Creating your first controller
Listing 1.5. The GuestBook Index view
Listing 1.6. An action to respond to the form post
Listing 1.7. The ThankYou.aspx view
Listing 1.8. Using the Html.BeginForm helper to generate a form tag
Listing 1.9. Creating a view model for the GuestBook application
Listing 1.10. Accepting a complex object as an action parameter
Listing 1.11. Changing the Index view to ViewPage<T>
Listing 1.12. Providing the expected model instance to the view
Listing 1.13. Using strongly typed view helpers instead of strings
Get ASP.NET MVC 2 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.