BN.com Gift Guide

Secrets of Real World ASP.NET Dynamic Data Websites [NOOK Book]

Overview

This Wrox Blox will teach you how to work with the new ASP.NET Dynamic Data feature set. Rather than being a new data access technology or some new approach to querying the database, a Dynamic Data web site helps abstract the user interface controls needed to present the data in your database. You will learn to model the database in LINQ to SQL and apply a variety of metadata attributes to the model. These attributes and their arguments will allow field templates to adapt to the context of the application. ...
See more details below
Secrets of Real World ASP.NET Dynamic Data Websites

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$5.99
BN.com price
(Save 14%)$6.99 List Price
Note: This NOOK Book can be purchased in bulk. Please email us for more information.

Overview

This Wrox Blox will teach you how to work with the new ASP.NET Dynamic Data feature set. Rather than being a new data access technology or some new approach to querying the database, a Dynamic Data web site helps abstract the user interface controls needed to present the data in your database. You will learn to model the database in LINQ to SQL and apply a variety of metadata attributes to the model. These attributes and their arguments will allow field templates to adapt to the context of the application. Furthermore, this Wrox Blox will teach you how to build specialized user controls called field templates that respond to the metadata information applied to database models. You will see how to push validation rules and custom business logic out of the user interface layer and down to the model layer. Finally, you will learn how to secure scaffolding pages that provide full editing capabilities to your database tables.

Table of Contents

 Exploring a Dynamic Data Web Site 1

Prerequisites 2

Create the Web Site 2

Building Blocks 6

Understanding Model Metadata 7

Display Name 9

Required 9

Regular Expression 9

String Length 9

UI Hint 9

Range 9

Display Format 10

Scaffold Column 10

Metadata Type 10

Display Column 10

Scaffold Table 10

Building Custom Field Templates 10

Build the URL Field Templates 11

Validating against Custom Business Logic 19

Validate Unique E-Mail Addresses 20

Move the Data Context to a Separate Assembly 22

Secure the Scaffolding 25

Add ASP.NET Membership Services 25

Secure Scaffold Pages 28

Wrapping Up 29

About the Author 30

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).

Read More Show Less

Product Details

  • ISBN-13: 9781118035344
  • Publisher: Wiley, John & Sons, Incorporated
  • Publication date: 11/18/2010
  • Series: Wrox Blox , #87
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 1
  • File size: 2 MB

Meet the Author

Craig Shoemaker is a software developer, podcaster, blogger and New-Media Evangelist for Infragistics. As host of the Polymorphic Podcast (polymorphicpodcast.com) and Pixel8 (getpixel8ed.com/) Craig does what he loves most - making contributions to the community and drawing the best out of industry luminaries.
Craig is a Microsoft ASP.NET MVP, ASP Insider and guest speaker at various developer user groups and tradeshows. Craig is co-author of the Wrox books "Beginning ASP.NET 2.0 AJAX", "Beginning ASP.NET Ajax" and a contributor to CoDe Magazine. In his spare time Craig enjoys looking for a haystack to hide his prize needle collection.
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)