did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9781590591000

Real World Asp.Net Best Practices: Best Practices and Fatal Traps

by
  • ISBN13:

    9781590591000

  • ISBN10:

    1590591003

  • Format: Paperback
  • Copyright: 2003-06-01
  • Publisher: Springer-Verlag New York Inc
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $39.99 Save up to $26.49
  • Buy New
    $38.79
    Add to Cart Free Shipping Icon Free Shipping

    USUALLY SHIPS IN 2-3 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

ASP.NET is a wonderful new enabling technology that allows developers to create business solutions much more effectively than ever before. However, there is room for improvement. Developers often do not see the potholes and pitfalls related to this technology until they stumble.Real World ASP.NET Best Practiceshelps readers to avoid just such frustrations. The book's in-depth coverage includes data handling, caching, JavaScript, user and server controls, distributed programming, configuration, and deployment.Real World ASP.NET Best Practicesgoes far beyond the documentation to teach ASP.NET development best practices based on the authors' real-world experience. The book's emphasis is on helping developers perform tasks correctly and avoid mistakes, not on teaching ASP.NET in general.

Table of Contents

About the Authors xi
About the Technical Reviewer xii
Introduction xiii
The Age of ASP.NET
1(10)
The Concept of Code Behind: Separating Fact from Fiction
1(7)
Using Inheritance in Code Behind
5(3)
Event Wiring
8(2)
Staying Away from the InitializeComponent Method
9(1)
Summary
10(1)
Cache, Session, and View State
11(40)
Be Mindful of the Cache!
11(25)
Cache Pros and Cons
11(2)
Performance Testing with Data Caching
13(6)
When Good Cache Goes Bad
19(3)
It's Still Too Slow!
22(1)
Refreshing Cached Data
23(1)
Extracting Data from a Database and Saving It into an XML File
24(3)
Expiring Cache
27(1)
The CacheItemRemovedCallback Delegate
27(2)
Understanding the CacheDependency Class
29(1)
Losing Cached Information When Restarting the Application
30(1)
The Scalability Issue with Cached Objects
30(1)
Turbo-Charging with Output Caching
31(5)
Deciding Whether to Maintain View State
36(6)
View State: Behind the Scenes
38(4)
Understanding the Session Object
42(8)
In-Process Session
43(1)
State Server
43(1)
SQL Server Session
43(1)
Performance Testing the Session Object
44(6)
Summary
50(1)
Client-Side JavaScript: Oh, What Fun!
51(20)
Capturing Events Raised by HTML Controls with JavaScript
52(3)
Server Control Attributes
53(1)
JavaScript in ASP.NET: A Problematic Solution
54(1)
Dynamically Generating JavaScript Code
55(14)
Using the RegisterArrayDeclaration Method
56(6)
Using the RegisterClientScriptBlock Method
62(3)
Using the RegisterStartupScript Method
65(3)
Using the RegisterOnSubmitStatement Method
68(1)
Removing JavaScript Code Programmatically
69(1)
Summary
69(2)
Handling Data Effectively
71(38)
Handling Data by Using DataSet
71(5)
An Inherent Problem with DataSet
71(1)
Using the Raw DataSet to Create a Vendor Management System
72(4)
Handling Data by Using Business Objects: A Better Approach
76(11)
Methods of the Customers Class
79(1)
Adding Business Rules to the Customers Class
80(7)
Handling Data by Using Strongly Typed Collections
87(20)
Getting to Know the CollectionBase Class
87(3)
Making CustomerCollection Strongly Typed
90(5)
Using a Strongly Typed Collection with ASP.NET Server Controls
95(3)
The Magic Is Still with the IList Interface
98(1)
Adding a Search Mechanism to the Strongly Typed Collection
98(2)
Adding Row State Capability to the Strongly Typed Collection
100(4)
Providing the Ability to Sort the Strongly Typed Collection
104(3)
Summary
107(2)
Using ASP.NET to Manage Lists
109(28)
Data Binding Performance Differences
109(11)
Data Binding Performance of the Data Grid Control
110(3)
Data Binding Performance of the Data List Control
113(3)
Data Binding Performance of the Repeater Control
116(4)
Data Binding Techniques and Their Effects
120(16)
Using an Inline Format Expression for Data Binding
120(2)
Using an Event Handler for Data Binding
122(6)
Using Member Methods for Data Binding
128(4)
Using User Controls Effectively
132(4)
Summary
136(1)
User Controls and Server Controls
137(24)
Choosing a Control Type
137(6)
Working with User Controls
137(1)
Benefits of Partial-Page Caching
138(3)
Working with Server Controls
141(1)
User Controls vs. Server Controls
142(1)
Best Practices with User Controls
143(10)
Exposing Data to Subclasses, Containers, and Siblings
143(3)
Using Events to Communicate Between Controls
146(3)
Supporting Templates with User Controls
149(3)
Dynamically Loading User Controls
152(1)
Best Practices with Server Controls
153(2)
Raising and Handling Events in Server Controls
153(1)
Design Time Experience with Server Controls
154(1)
Additional Control Best Practices
155(5)
Using View State Sparingly but Effectively
155(1)
Using Client-Side Script with Controls
156(1)
Indicating the Script File Version
157(3)
Summary
160(1)
Remoting and Web Services
161(18)
Remoting Overview
162(1)
Transport
162(1)
Serialization Format
162(1)
Server Host
162(1)
Activation
162(1)
State Management
163(1)
Web Services Overview
163(1)
Tell Me Already! When Should I Use One or the Other?
163(1)
Best Practices That Are Common to Remoting and Web Services
164(5)
Securing Your Remote Communication
165(1)
Performance
166(3)
Remoting Best Practices
169(5)
Managing Types and Interfaces
170(4)
Web Services Best Practices
174(3)
Managing WSDL on the Server and Service Locations on the Client
174(3)
Summary
177(2)
Configuring ASP.NET Applications
179(24)
Understanding the XML Configuration System
179(2)
Identifying Configuration Sections and Handlers
181(4)
Leveraging the Built-In Configuration Handlers
185(1)
User- or Environment-Specific Settings
186(4)
Application Domains and Automatic Reloading of Configuration Settings
190(1)
Cascading Configuration
191(6)
Creating Custom Configuration Section Handlers
197(4)
Summary
201(2)
Index 203

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program