Table of Contents
Introducing ASP.NET MVC 2 1
Runs on Visual Studio 2008 and Visual Studio 2010 2
Templated Helpers and Model Metadata 2
HiddenInputAttribute 5
How to Write Custom Templates 7
Validation 8
Client-Side Validation 10
Custom Validation Rules 10
Areas 15
Asynchronous Controllers 18
Why Asynchronous Operations Matter 18
The Anatomy of an Asynchronous Controller 18
How to Implement an Async Controller 19
When to Use an Async Controller 21
RenderAction and Child Actions 22
Strongly Typed UI Helpers 24
Enhancements to ModelBinders 25
Default Value 25
Increasing Security with HTTPS 26
Avoiding the JSON Array Attack 26
Short Notation for AcceptVerbs Attribute 27
Overriding the HTTP Verb 27
Binary Binding 28
Automatic HTML-Encoding 29
Enhanced Visual Studio Tooling 30
Summary 31
About Simone Chiaretta 32
Book Details
- Paperback: 35 pages
- Publisher: Wrox (May, 2010)
- Language: English
- ISBN-13: 978-0470767481
- File Size: 9.4 MiB
- Hits: 1,758 times