Microsoft ASP.NET Coding Strategies with the Microsoft ASP.NET Team

by ;
Format: Paperback
Pub. Date: 2003-11-12
Publisher(s): Microsoft Pr
  • Free Shipping Icon

    This Item Qualifies for Free Shipping!*

    *Excludes marketplace orders.

List Price: $49.99

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Legal Statement: (c) 2003 Microsoft Corporation. All rights reserved. Microsoft, , the .NET logo, and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.

Table of Contents

Acknowledgments x
Introduction xi
1 ASP.NET Page Framework 1(22)
Understanding ASP.NET Request Processing
3(6)
IHttpHandler Interface
4(3)
IHttpModule Interface
7(2)
Understanding the ASP.NET Page Life Cycle
9(2)
Page_Init
9(1)
Page_Load
9(1)
Page_Unload
10(1)
Controlling Page Execution
11(4)
Using Response.Redirect
11(2)
Using Server.Transfer
13(1)
Using Server.Execute
14(1)
Implementing a Wizard
15(5)
Working With Dynamic Controls
20(2)
Summary
22(1)
2 Server Controls 23(28)
HTML Controls
24(2)
Web Controls
26(7)
ASP.NET Web Control Hierarchy
28(2)
Leveraging User Controls
30(3)
Displaying a Message Box
33(1)
Controls for Lists
34(6)
CheckBoxList
35(1)
ListBox
36(1)
DropDownList
37(2)
RadioButtonList
39(1)
Controls for Validating User Input
40(6)
RequiredFieldValidator
41(1)
CompareValidator
42(1)
RangeValidator
42(1)
RegularExpressionValidator
43(1)
CustomValidator
44(1)
ValidationSummary
45(1)
Uploading a File
46(2)
Using ViewState with Sensitive Data
48(1)
Summary
49(2)
3 Data Controls 51(36)
The Repeater, Datalist, and DataGrid Controls
56(7)
Repeater
56(3)
Datalist
59(1)
DataGrid
60(3)
Specifying Columns Explicitly
63(2)
DataBinder.Eval
65(1)
Adding Styles To the DataGrid
65(2)
Sorting the DataGrid
67(3)
Paging the DataGrid
70(2)
Selecting Rows in the DataGrid
72(2)
Editing Data in the DataGrid
74(3)
Deleting Data in the DataGrid
77(1)
Filtering Data with the DataGrid
78(3)
Advanced DataGrid
81(4)
Adding Data
81(3)
Summarizing Data
84(1)
Summary
85(2)
4 Developing for Mobile Browsers 87(22)
Introducing Mobile Pages and Mobile Controls
88(2)
Selecting Page and Control Adapters
90(1)
Designing for Mobile Browsers
91(1)
Taking Advantage of Emulators
92(2)
Start with a Browser
93(1)
Using Cookieless Sessions
94(2)
Directing Users to Mobile Content
96(1)
Using the MobileCapabilities Object
97(1)
Working with Device Updates
97(1)
Adding Support for a New Browser
98(4)
Writing a Custom Adapter
102(3)
Using Custom Attributes
103(2)
Working with Pagination
105(1)
Using Device-Specific Filters
105(3)
Summary
108(1)
5 Managing Client State 109(24)
History of Session State
110(2)
Limitations with ASP Session State
111(1)
ASP.NET Session State
112(12)
In-Process Session State
112(2)
Out-of-Process Session State
114(7)
Session Data in a Web Farm
121(2)
Cookieless Session
123(1)
Using ViewState to Store State in the Page Output
124(4)
Programming ViewState
125(1)
ViewState's Liability
126(2)
Using Cookies for Client State Management
128(3)
Summary
131(2)
6 Managing Application and Request State 133(50)
Caching Overview
134(3)
Common Questions about Caching
134(3)
Page Caching Using the OutputCache Directive
137(15)
The OutputCache Directive
138(3)
Using the Page OutputCache Directive
141(11)
Output Cache APIs
152(11)
Setting the Expiration
152(1)
Setting the Cacheability
153(1)
Vary By Options with the Output Cache APIs
154(1)
Honoring or Ignoring Cache Invalidation Headers
155(3)
Deterministically Serving Pages from the Cache
158(2)
Removing Pages with Dependencies from the Cache
160(3)
Caching Parts of the Page
163(6)
Cache and the Application API
169(8)
Deciding to Use Cache or Application
171(1)
What to Store in the Cache
172(1)
Setting and Retrieving Values from the Cache
172(5)
Removing Items from the Cache
177(1)
Static Application Variables
177(2)
Per-Request Caching
179(2)
Implementing Per-Request Caching
179(2)
Summary
181(2)
7 Configuration 183(18)
How Configuration Works
184(7)
.NET Framework Versions
185(1)
Using web.config
186(3)
Changing Configuration
189(1)
Anatomy of the .CONFIG File
190(1)
Centralized Configuration Settings
191(1)
Locking Down Configuration
192(1)
Storing Custom Configuration Data
193(6)
Using Application Settings
194(1)
Custom Configuration Section Handler
195(4)
Securing Configuration Data
199(1)
Encrypting Data
200(1)
Summary
200(1)
8 ASP.NET Security 201(22)
Introducing ASP.NET Application Security
201(2)
Authenticating Users
203(3)
IIS Authentication
203(2)
ASP.NET Authentication
205(1)
Using Impersonation
206(2)
Enabling ASP.NET Impersonation
207(1)
Using Forms Authentication
208(4)
Configuring Forms Authentication
208(1)
Authenticating the User
209(2)
Storing Passwords
211(1)
Working with Roles
212(4)
Using Roles with Windows Authentication
212(1)
Using Roles with Forms Authentication
213(3)
Authorizing Users
216(2)
File Authorization
216(1)
URL Authorization
216(2)
Validating Input
218(3)
Hardening the Server
221(1)
Summary
221(2)
9 Tuning ASP.NET Performance 223(20)
Analyzing ASP.NET Applications
223(6)
Controlling the Test Environment
224(1)
Measuring Throughput
225(1)
Using Load Generating Tools
226(1)
Using Performance Counters
227(1)
Processor CPU Utilization
228(1)
Requests/Sec
228(1)
Errors Total
228(1)
Exceptions Thrown
228(1)
Application Restarts
229(1)
Page Tracing
229(3)
Throwing Exceptions
232(2)
Compiling ASP.NET Applications
234(2)
Using the Cache
236(1)
Caching Page Output
236(1)
Caching Objects
237(1)
Using COM Objects
237(1)
Buffering Content
238(1)
Use Response Buffering
238(1)
Avoid String Concatenation
239(1)
Use StringBuilder
239(1)
Minimizing Session State
239(3)
Using View State
242(1)
Summary
242(1)
10 ASP.NET Debug and Trace 243(16)
Enabling Trace
244(2)
Setting Trace Options
245(1)
Reading Trace Output
246(3)
Request Details
247(1)
Trace Information
247(1)
Control Tree
247(1)
Cookies Collection
247(2)
Headers Collection
249(1)
Server Variables
249(1)
Form Collection
249(1)
Writing Trace Output
249(2)
How ASP.NET Compilation Works
251(3)
Enabling Debug
254(1)
Sending Data to the Debugger
255(2)
Using Compiler Options
256(1)
Summary
257(2)
11 Moving to ASP.NET 259(24)
Web Application Architecture
259(8)
Active Server Pages Extension Mappings
261(2)
The ASP.NET Difference
263(3)
HttpRuntime
266(1)
Migrating to ASP.NET
267(9)
Rewriting for ASP.NET
268(8)
Integrating ASP and ASP.NET
276(6)
Configuring Options
277(2)
Interoperating with COM and ASPCompatMode
279(3)
Working Around Session and Application State
282(1)
Summary
282(1)
A Tips and Tricks 283(18)
ASP.NET Page Framework
283(1)
Server Controls
284(2)
Data Controls
286(1)
Developing for Mobile Browsers
287(2)
Managing Client State
289(2)
Managing Application and Request State
291(3)
Configuration
294(1)
ASPNET Security
295(2)
Tuning ASP.NET Performance
297(1)
ASP.NET Debug and Trace
298(1)
Moving to ASP.NET
299(2)
B The Cassini Sample Web Server 301(4)
System Requirements
301(1)
Downloading the Cassini Web Server
302(1)
Files Installed with Cassini
302(1)
Building Cassini
302(1)
Running Cassini
303(1)
Getting Help With Cassini
304(1)
Index 305

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.