0%

Book Description

This Wrox Blox is for .NET developers who already have experience developing web applications with ASP.NET MVC and want to learn the new features introduced in the new release of ASP.NET MVC. ASP.NET MVC 2 has been built with the goal to increase productivity and make ASP.NET MVC ready for enterprise development. This Wrox Blox guides the reader through the new features by explaining how to use data scaffolding and automatic validation, how to write custom validators, how to create multi-area projects, and how and when to use async controllers. It also covers the new automatic HTML Encoding feature introduced in ASP.NET 4 and how it helps increasing the security of ASP.NET MVC web applications. In addition, it provides examples built both with Visual Studio 2010 and with the still supported Visual Studio 2008.

Table of Contents

  1. Copyright
  2. 1. What's New in ASP.NET MVC 2?
    1. 1.1. Introducing ASP.NET MVC 2
      1. 1.1.1. Runs on Visual Studio 2008 and Visual Studio 2010
    2. 1.2. Templated Helpers and Model Metadata
      1. 1.2.1. HiddenInputAttribute
      2. 1.2.2. How to Write Custom Templates
      3. 1.2.3. Validation
      4. 1.2.4. Client-Side Validation
      5. 1.2.5. Custom Validation Rules
    3. 1.3. Areas
    4. 1.4. Asynchronous Controllers
      1. 1.4.1. Why Asynchronous Operations Matter
      2. 1.4.2. The Anatomy of an Asynchronous Controller
      3. 1.4.3. How to Implement an Async Controller
      4. 1.4.4. When to Use an Async Controller
    5. 1.5. RenderAction and Child Actions
    6. 1.6. Strongly Typed UI Helpers
    7. 1.7. Enhancements to ModelBinders
      1. 1.7.1. Default Value
      2. 1.7.2. Increasing Security with HTTPS
      3. 1.7.3. Avoiding the JSON Array Attack
      4. 1.7.4. Short Notation for AcceptVerbs Attribute
      5. 1.7.5. Overriding the HTTP Verb
      6. 1.7.6. Binary Binding
    8. 1.8. Automatic HTML-Encoding
    9. 1.9. Enhanced Visual Studio Tooling
    10. 1.10. Summary
  3. About Simone Chiaretta
3.149.236.27