ASP.NET MVC 2 ASP.NET MVC 2

ASP.NET MVC 2

    • $3.99
    • $3.99

Publisher 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




 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




Usage Rights for Wiley Wrox Blox



Any Wrox Blox you purchase from this site will come with certain restrictions that allow Wiley to protect the copyrights of its products. After you purchase and download this title, you:    




Are entitled to three downloads



Are entitled to make a backup copy of the file for your own use



Are entitled to print the Wrox Blox for your own use



Are entitled to make annotations and comments in the Wrox Blox file for your own use



May not lend, sell or give the Wrox Blox to another user



May not place the Wrox Blox file on a network or any file sharing service for use by anyone other than yourself or allow anyone other than yourself to access it



May not copy the Wrox Blox file other than as allowed above



May not copy, redistribute, or modify any portion of the Wrox Blox contents in any way without prior permission from Wiley




If you have any questions about these restrictions, you may contact Customer Care at (877) 762-2974 (8 a.m. - 5 p.m. EST, Monday - Friday). If you have any issues related to Technical Support, please contact us at 800-762-2974 (United States only) or 317-572-3994 (International) 8 a.m. - 8 p.m. EST, Monday - Friday).

GENRE
Computers & Internet
RELEASED
2010
May 28
LANGUAGE
EN
English
LENGTH
38
Pages
PUBLISHER
John Wiley & Sons
SELLER
John Wiley & Sons Canada, Ltd.
SIZE
1.3
MB

More Books Like This

Programming ASP.NET MVC 4 Programming ASP.NET MVC 4
2012
Pro ASP.NET MVC 5 Pro ASP.NET MVC 5
2014
Pro ASP.NET MVC 4 Pro ASP.NET MVC 4
2013
Pro ASP.NET 4 in C# 2010 Pro ASP.NET 4 in C# 2010
2010
Pro React 16 Pro React 16
2019
Beginning ASP.NET 4 in C# 2010 Beginning ASP.NET 4 in C# 2010
2010

More Books by Simone Chiaretta

Front-end Development with ASP.NET Core, Angular, and Bootstrap Front-end Development with ASP.NET Core, Angular, and Bootstrap
2018
ASP.NET Core, Angular i Bootstrap. Kompletny przybornik front-end developera ASP.NET Core, Angular i Bootstrap. Kompletny przybornik front-end developera
2019