Online Book Reader

Home Category

Programming Microsoft ASP.NET 4 - Dino Esposito [598]

By Root 5524 0

Error Reporting

Features of an Error Reporting System

Error Reporting Tools

Self-Logging Exceptions

Page Personalization

Creating the User Profile

Definition of the Data Model in a Web Site Project

The User Profile Class Representation

Using Collection Types

Using Custom Types

Grouping Properties

Definition of the Data Model in a WAP Project

Interacting with the Page

Creating the Profile Database

Working with Anonymous Users

Accessing Profile Properties

User Profiles in Action

Personalization Events

Migrating Anonymous Data

Profile Providers

Configuring Profile Providers

Structure of AspNetDb.mdf

Custom Profile Providers

Page Localization

Making Resources Localizable

Global and Local Resources

Using Resources: Declarative vs. Programmatic

Dealing with Global Resources

Dealing with Local Resources

Resources and Cultures

Setting the Current Culture in .NET Applications

Setting the Current Culture in ASP.NET Pages

Changing Culture on the Fly

Adding Resources to Pages

Using Script Files

Scripts at the Bottom of the Page

Using a Content Delivery Network

Reasons for Minifying a Script File

Localized Scripts

Using Cascading Style Sheets and Images

Grouping Images into Sprites

External References vs. Inline Content

Summary

8. Page Composition and Usability

Page Composition Checklist

Working with Master Pages

What’s a Master Page, Anyway?

The @Master Directive

The ContentPlaceHolder Container Control

Specifying Default Content

Writing a Content Page

The Content Control

Content Pages and Auxiliary Content

Attaching Pages to a Master

Device-Specific Masters

Processing Master and Content Pages

Compiling Master Pages

Serving the Page to Users

Nested Master Pages

Programming the Master Page

Exposing Master Properties

Invoking Properties on the Master

The @MasterType Directive

Changing the Master Page Dynamically

Styling ASP.NET Pages

What’s a Theme, Anyway?

Structure of a Theme

Theming Pages and Controls

Applying Skins

Taking Control of Theming

Loading Themes Dynamically

Page Usability Checklist

Cross-Browser Rendering

Detecting Browser Capabilities

Browser Definition Files

Browser Capabilities Providers

Search Engine Optimization

Quick SEO Checklist

SEO and ASP.NET

Tools for Measuring SEO Level

Site Navigation

Defining Site Map Information

Site Map Providers

The SiteMap Class

The SiteMapPath Control

Configuring the Site Map

Using Multiple Site Map Files

Securing ASP.NET Site Maps

Localizing Site Map Information

Localizing the Site Navigation Structure

Testing the Page

Testing the Logic of the Page

Testing the Client-Side Behavior of the Page

Testing Posted Data

Summary

9. ASP.NET Input Forms

Programming with Forms

The HtmlForm Class

Properties of the HtmlForm Class

Methods of the HtmlForm Class

Multiple Forms

Using HTML Forms

Nested HTML Forms

Multiple Server

Tags on a Page

Multiple View and Wizards

Cross-Page Postings

Posting Data to Another Page

The @PreviousPageType Directive

Detecting Cross-Page Postings

Redirecting Users to Another Page

Validation Controls

Generalities of Validation Controls

The BaseValidator Class

Associating Validators with Input Controls

Gallery of Controls

The CompareValidator Control

The CustomValidator Control

The RegularExpressionValidator Control

The RangeValidator Control

The RequiredFieldValidator Control

Special Capabilities

Server-Side Validation

Displaying Error Information

Multiple Validators per Control

The ValidationSummary Control

Enabling Client Validation

Validation

Return Main Page Previous Page Next Page

®Online Book Reader