|
|
Class Outline*
|
|
| Request Info | Contact Us
|
|
Advanced ASP.NET 2008
Duration :
3 Days
Overview :
In this course, you will be introduced to many exciting ASP.NET features that will help you get the most out of the .NET Framework and make you a better and more efficient Visual Studio 2008 developer. You will become familiar with the tracing features in Visual Studio that help you quickly troubleshoot issues. You will also learn how to read and write XML data using XML DOM, how to work with ASP.NET Profile features and ASP.NET Web Parts, and how to take advantage of creating your own user-defined control. You’ll also learn about caching issues that can help optimize your sites, and how to use Web parts to create dynamic Web sites. You’ll also learn about new features in Visual Studio 2008, including support for ASP.NET AJAX, the new ListView control, and ASP.NET extensions.
|
|
Outline :
|
Lesson 1: Tracing
|
|
ASP.NET Trace
Page-Level Tracing
Application-Level Tracing
Instrumenting with Trace Listeners
The WebPageTraceListener
Health Monitoring with Web Events
Working with the TraceFinished Event
Sending Web Event Data to the SQL Server
Using the SqlWebEventProvider
Providers, Rules, and Event Mappings
Viewing Event Data
|
|
Lesson 2: Creating New Controls
|
|
Two Kinds of User-Defined Controls
Creating a User Control
A More Complex User Control
Investigating the User Control
Providing States Data
User Control Properties
User Control Events
Testing the User Control
Why Not Stop Here?
Creating a Custom Control
Investigating the StateDropDownList Control
Rendering the Control
Control Properties
Managing Property Behavior Using Attributes
Working with Postback Data
Specifying a Toolbox Icon
Finishing Touches
What’s Next?
|
|
Lesson 3: Improving Performance with Output Caching
|
|
The Importance of Caching
Improvements over Classic ASP
Types of Caching in ASP.NET
Declarative Page Output Caching
Caching Static Pages
Code Behind the Caching Example Pages
Caching Multiple Versions of a Page
Caching Page Fragments
Using VaryByControl
Caching Multiple Versions of a Control on a Page
Post-Cache Substitution
Calling a Method to Insert HTML
Using a Substitution Control
Caching Configuration
Output Cache Profiles
Global Configuration Settings
|
|
Lesson 4: Advanced Caching Techniques
|
|
ASP.NET Caching Review
Declarative Output Caching
Overview of Advanced Caching Features
Testing Caching in Visual Studio 2008
Programmatic Page Caching
The Caching Object Model
Caching Static Pages Programmatically
Caching Data
Using Cache.Add and Cache.Insert
Controlling Expiration
Caching Data with Dependencies
Expiring a Cached Item when Data Changes
Polling for Changes to a Table
Polling for Changes to Query Results
Using SQL Server 2005 Query Notifications for
Caching
|
|
Lesson 5: AJAX
|
|
Introduction to AJAX
Web Form Processing
The Two Faces of ASP.NET AJAX
AJAX and Visual Studio
Comparison of Full-Page Postbacks and AJAX
Server-Side AJAX
AJAX Server-Side Controls
ASP.NET AJAX Control Toolkit
AccordianPane Control
AlwaysVisibleExtender Control
FilteredTextBoxExtender Control
ListSearchExtender Control
MaskedEdit Extender and Validator Controls
PagingBulletedListExtender Control
TextBoxWatermarkExtender Control
PasswordStrength Control
Client-Side AJAX
Calling a Web Service from a Browser
Calling a Server-Side Page Method
|
|
Lesson 6: Using the DataList and Repeater Controls
|
|
Overview of List-Bound Controls
Using the Repeater Control
Binding the Repeater Control to Data
The CategoryDetail Page
Creating a DataList Control
Formatting the DataList
Binding Data to the DataList
Displaying Bound Data
Selecting a Row
Refreshing the Display
Editing Data with the DataList
|
|
Lesson 7: Creating and Consuming Web Services
|
|
The Motivation for XML Web Services
Web Service Technologies
Creating a Web Service with Visual Studio
Defining Web Methods
Testing the Web Service
Designing XML Web Services
Providing Services
Marshalling Data
Creating Web Service Consumers
Web References
Understanding the Additions to the Project
Calling a Web Service
Windows Communication Foundation
Defining a WCF Service
Defining a WCF Service Consumer
|
|
Lesson 8: Using the ListView and DataPager Controls
|
|
Introduction to the ListView Control
Exploring the ASP.NET ListView
Create a ListView
ListView Control Templates
Handling the “No Data” Situation
Grouping Items
Modifying Data in the ListView Control
Convert a Static Page to Use a ListView
Static Version of the Page
Add a ListViewControl to Display Content
Add a LINQ Data Source
Enable Data Editing
Sort Data in a ListView
Adding Paging with the DataPager Control
Exploring ListView Paging
Implement More Flexible Paging
|
|
Lesson 9: Reading and Writing XML Using the XML DOM
|
|
Getting Started
Introducing the XML Document Object Model
Reading XML Data
Load XML Data
Work with a Node’s Children
Iterate Through All Nodes
Retrieve Element Nodes
Retrieve Just Text Nodes
Working with Nodes
Retrieve Nodes Matching a Criterion
Searching with XML Namespaces
Retrieve a Reference to a Particular Node
Navigate to Related Nodes
Retrieve Attributes of a Node
Creating and Modifying XML
Create XML Programmatically
Add or Delete Elements
Remove All Nodes and Attributes
Add or Delete Attributes
Modify the Value of an Element
Modify the Value of an Attribute
Dealing with Errors
Determine if XML Isn’t Well Formed
Handle XML Loading Errors
|
|
Lesson 10: ASP.NET Profile Features
|
|
Introducing Profiles
Profile’s Strongly Typed Access
Storing Profile Data
Considering Profiles
Configuring Profiles
Setting Up Web.config
Using Custom Types
Using SQL Server for Profile Storage
Modifying Provider Behavior
Investigating the Sample Site
Working with Anonymous Profiles
Enabling Anonymous Profiles
Identifying Anonymous Users
Enabling Specific Properties for Anonymous Users
Migrating Anonymous Users
Creating a Custom Profile Provider
Examining the Custom Profile Provider
Comparing Profiles and Session State
|
|
Lesson 11: Empowering User with Web Parts
|
|
The Evolution of Web Parts
Web Parts in Action
Personalization in Browse Mode
Design and Edit Modes
Catalog Mode
Connect Mode
Custom Properties and Menus
Web Part Server Controls
WebPartManager
ProxyWebpartManager
WebPartZone
CatalogZone
EditorZone
ConnectionsZone
Coding Web Parts
Controlling a Page’s Display Mode
Controlling Personalization Scope
Resetting Personalization Data
Coding Connections
User Controls as Web Parts
Custom Controls as Web Parts
|
|
Lesson 12: ASP.NET Extensions
|
|
ASP.NET Extensions
Web Deployment Projects
ASP.NET AJAX History Feature
Use AJAX History
ASP.NET Dynamic Data
Create a Dynamic Data Web Site
Explore the Structure of a Dynamic Web Site
Routing
Change Data Display
Change Page Templates for Some Tables
|
|
*Content, days, and times vary depending on your location. Please contact the local center for more information.
|