Product Overview

The ASP.NET 2.0 Anthology: 101 Essential Tips, Tricks & Hacks

Symbols

$ function
using, (Solution)
.NET 2.0 core libraries, (.NET 2.0 Core Libraries)
collections, (How do I batch operations with large collections?)
generics, (How do I use generics?)
strings, (How do I use strings?)
.NET 3.5
preparing for, (How do I build a data access layer?)
404 pages
rewriting, (URL Rewriting with a Custom 404 Page)
__VIEWSTATE
ControlState, (Solution)

A

Abrams, Brad
on the string class, (How do I use strings?)
absolute URLs
master pages, (Using Absolute URLs)
access control, (Summary), (Membership and Access Control)
(see also data access layer)
(see also form validation)
displaying content based on roles, (How do I display content based on roles?)
forgotten passwords, (How do I grant access to users who have forgotten their passwords?)
login, (How do I require users to log in?)
managing users, (How do I manage users on my site?)
membership, (What’s the easiest way to add membership to my site?)
registering users, (How do I allow users to register for my site?)
accessing
elements via an index, (The Hashtable and the Dictionary)
images with a handler, (How can I use a handler to control access to the images on my site?)
view state, (What’s the cleanest way to access a page’s view state?)
action delegates
ForEach method, (Using Generic Methods)
ActiveRecord pattern
SubSonic, (The SubSonic Data Access Layer)
adding
membership, (What’s the easiest way to add membership to my site?)
SubSonic to projects, (Adding SubSonic to your Project)
ADO.NET
data access, (How can I get started using ADO.NET?)
Ajax, (How do I use Microsoft's ASP.NET AJAX?)
ASP.NET controls, (Where can I get some fancy ASP.NET controls?)
generated IDs, (How do I work with generated IDs?)
history of, (Ajax and JavaScript)
partial page rendering, (How do I perform partial page rendering?)
refreshing UpdatePanels, (How do I periodically refresh an UpdatePanel?)
request, (Solution), (Discussion)
using, (How do I use Microsoft's ASP.NET AJAX?)
AJAX Control Toolkit
about, (Solution)
Allen, Scott
blog, (ASP.NET-focused Blogs)
anonymous delegates
explained, (Solution)
APIs (see Configuration API)
application states
storing, (Where should I store application state?)
application variables
storing global data, (Storing Data in Application Variables)
applications (see web applications)
appSettings element
configuration settings, (How do I create a custom configuration section?)
connection strings, (Solution)
external files, (Solution)
Array collection type
about, (The Array)
ArrayList collection type, (Solution)
about, (The ArrayList and the List<T>)
ASP.NET
blogs, (ASP.NET-focused Blogs)
configuring, (Configuring ASP.NET)
finding information about, (Where can I find more information about ASP.NET?)
inheritance, (Discussion)
web site, (The ASP.NET Web Site)
ASP.NET 1.1
web standards, (Discussion)
ASP.NET 2.0
Configuration API location, (Solution)
ASP.NET cache
optimization, (How can I gain more control over the ASP.NET cache?)
ASP.NET pages
storage options, (Summary)
ASPX pages
about, (Discussion)
asynchronous events
sending email, (Solution)
attachments
email, (How do I attach a file to my email?)
Atwood, Jeff
blog, (ASP.NET-focused Blogs)
authentication
about, (Membership and Access Control)
Auto Format styling
GridView, (Discussion)
AutoCompleteExtender control
using, (Solution)
AutoScaffold page
about, (The AutoScaffold Page)

B

backups
third-party web hosting, (Backups)
bandwidth
optimization, (How can I decrease the bandwidth that my site uses?)
third-party web hosting, (Solution)
bar graphs
creating, (How do I create a real bar graph handler?)
rendering, (How do I render simple bars?)
BaseValidator
form validation, (Solution)
batch operations
large collections, (How do I batch operations with large collections?)
BatchIterator class
explained, (The BatchIterator Class Solution)
binary content, (Rendering Binary Content)
controlling access to images with a handler, (How can I use a handler to control access to the images on my site?)
dynamic image quality, (How can I improve the quality of my dynamic images?)
real bar graph handlers, (How do I create a real bar graph handler?)
rendering simple bars, (How do I render simple bars?)
requesting HttpHandler, (How do I request an HttpHandler?)
writing non-text binary data, (How do I write non-text binary data?)
writing raw data to response, (How do I write raw data to the response?)
writing simple, (How do I write binary content?)
binding
IEnumerable, (Solution)
values within configuration files, (Solution)
blog posts
example using BatchIterator class, (The BatchIterator Class Solution)
blogs
ASP.NET, (ASP.NET-focused Blogs)
books
ASP.NET, (Reference Books)
boxing
objects, (Solution)
branching
source control, (Branching)
browsers
interpreting binary data, (Discussion)
build provider
SubSonic, (Generating your DAL)
Build Your Own ASP.NET 2.0 Web Site Using C# & VB, (Reference Books)

C

C# programming language
boxing and unboxing, (Solution)
Null Coalescing Operator, (Solution)
cache, (Summary)
(see also ASP.NET cache; reluctant cache pattern; SQL cache)
parameterized pages, (Solution)
refreshing, (How do I refresh my cache when the data changes?)
SQL cache dependencies, (Solution)
storing application state information, (Storing Data in the Cache)
cache data reference pattern, (Discussion)
Calendar control
SubSonic, (The Utility Controls)
Class.create method
using, (Solution)
classes, (Summary)
(see also CSS classes; generic classes)
(see also specific classes)
converting from generic lists, (How do I convert generic lists to specific classes?)
clearing
SQL cache when testing in SSMS, (Verifying the Problem)
client-side validation
custom validator controls, (How do I perform client-side validation with my custom validator control?)
forms, (How do I perform custom client-side validation?)
ClientID property
generated IDs, (Solution)
ClientIDs
master pages, (Discussion)
CLR via C#, (Reference Books)
clustered indexes
about, (Lack of Indexes)
Code Complete, (Reference Books)
code generators (see web-based code generators)
collection types, (Summary)
(see also Array; Array List; Dictionary; HashTable; List; Queue; SortedDictionary; SortedList; Stack)
.NET Framework, (How do I choose the right collection?)
collections, (Summary)
(see also generic collections)
batch operations, (How do I batch operations with large collections?)
choosing, (How do I choose the right collection?)
column fields
ObjectDataSource, (Solution)
columns
HtmlEncode property, (Discussion)
order in data binding, (Solution)
sorting multiple, (How do I sort on multiple columns?)
components, (Summary)
(see also web form development)
user controls as, (How do I treat user controls as components?)
compressing
view state, (Compressing the View State)
concatenating
delimited strings from object properties, (How do I concatenate delimited strings from object properties?)
conditional formatting
strings, (Discussion)
configSource attribute
using, (Solution)
configuration, (Configuration)
basic settings, (How do I store and retrieve basic settings?)
custom configuration section in Web.config, (How do I create a custom configuration section?)
encrypting Web.config, (How can I encrypt a section of my Web.config file?)
managing Web.config values, (How can I manage Web.config values between deployment environments?)
retrieving settings declaratively, (How do I retrieve settings declaratively?)
simplifying Web.config, (How can I simplify my Web.config file?)
storing connection strings, (How do I store connection strings?)
Configuration API
location in ASP.NET 2.0, (Solution)
ConfigurationValidatorBase class
validation checks, (Solution)
configuring
ASP.NET, (Configuring ASP.NET)
database connections, (How do I configure my database connection?)
SQL servers, (Configuring SQL Server)
STMP settings for email, (Solution)
connected data access
defined, (Solution)
connection errors
handling, (Discussion)
connection strings, (Summary)
(see also named connection strings)
storing, (How do I store connection strings?)
connections (see trusted connections)
connectionStrings section
Web.config file, (Solution)
constructor functions
using, (Solution)
containers
.NET 1.1 and 2.0 compared, (Solution)
content, (Summary)
(see also binary content)
displaying based on roles, (How do I display content based on roles?)
scraping, (Scraping the Content)
submitting via email, (How do I allow users to submit content via email?)
content pages
interaction with master pages, (Discussion), (How can I have my master page interact with my content page?)
overriding data on master pages, (How can my content page override data on my master page?)
content types
about, (Understanding Content Types)
ContentPlaceHolder control
master pages, (How can I use master pages?)
control state
storing information between postbacks, (Solution)
ControlPostCount property
using, (Solution)
controls, (Summary)
(see also server controls; user controls)
(see also specific control)
in ASP.NET, (Where can I get some fancy ASP.NET controls?)
for validation, (Discussion), (Registering the Client Validation Function)
ControlState
__VIEWSTATE, (Solution)
inheritance, (Solution)
ControlToValidate property
about, (Solution)
ConvertAll function
converting generic objects into specific types, (Solution)
converting
between value types, (Solution)
cookies
storing state information, (Maintaining State)
cost
third-party web hosting, (Solution)
CreateUserWizard control
using, (How do I allow users to register for my site?)
creating
Web Application projects, (Creating a Web Application Project)
Web Site projects, (Creating a Web Site Project)
credit card orders
processing, (Solution)
CSS
GridView styling, (Discussion)
mail client support, (Discussion)
using themes in conjunction with, (How do I use themes effectively in conjunction with CSS?)
web standards, (How do I make sense of the CSS maze produced by the CSS Friendly menu?)
CSS classes
sort direction, (Solution)
CSS Friendly Control Adapters Kit
server controls, (Solution)
culture
dates, (How Powerful is String.Format?)
cursors
eliminating, (Eliminating Cursors)
custom control
with view state off, (How can I make sure my custom control works when view state is turned off?)
Customer class
code example, (Solution)
CustomValidator
explained, (Solution)

D

data, (Summary)
(see also binary content; email; global data; images; form letters; strings)
overriding on master pages, (How can my content page override data on my master page?)
data access, (Data Access)
ADO.NET, (How can I get started using ADO.NET?)
configuring database connections, (How do I configure my database connection?)
data binding, (How can I perform data binding without having to write all that repetitive code?), (How can I data bind without using the SqlDataSource?)
displaying database tables, (How do I display the contents of a database table?)
filling DropDownList from database tables, (How do I fill a DropDownList from a database table?)
modifying single records, (How do I allow the modification of a single record?)
reading data from databases, (How do I read data from my database?)
sorting and filtering data, (How do I sort and filter data?)
Data Access Application Block (DAAB)
about, (Solution)
data access layer
building, (How do I build a data access layer?)
generating, (How do I automatically generate a data access layer?), (Generating your DAL)
SubSonic, (The SubSonic Data Access Layer)
data binding, (Summary)
(see also declarative data-binding; nested data binding; two-way data binding)
column order, (Solution)
compared to injection, (Discussion)
using DataSource control, (How can I perform data binding without having to write all that repetitive code?)
without SqlDataSource, (How can I data bind without using the SqlDataSource?)
Data Connection
configuring database connections, (Solution)
data hiding
defined, (Solution)
data types
strings as, (Solution)
data-bound drop-downs
adding to a GridView, (How do I add a data-bound drop-down to a GridView?)
database paging
Subsonic, (The Utility Controls)
database tables
displaying contents, (How do I display the contents of a database table?)
filling DropDownLists, (How do I fill a DropDownList from a database table?)
Database Tuning Advisor
using, (Solution)
databases
adding membership to, (Discussion)
configuring connections, (How do I configure my database connection?)
optimizing queries, (How do I speed up my database queries?)
reading data from, (How do I read data from my database?)
third-party web hosting, (Solution)
troubleshooting, (Discussion)
versus application code for sorting and filtering, (Discussion)
databases, storing session state information, (Configuring ASP.NET)
DataList class
obtaining functionality of without tables, (How do I obtain DataList-style functionality without using a table?)
DataReader
code example, (Solution)
data access method, (Solution)
DataSet
data access method, (Solution)
DataSource control
data binding, (How can I perform data binding without having to write all that repetitive code?)
DataTable control
code example, (Solution)
example of, (Solution)
DataTable objects
ObjectDataSource, (Solution)
date
formatting, (How Powerful is String.Format?)
DateTime values
converting, (Solution)
deadlocks
about, (Deadlocks)
debuggers
CSS, (CSS Development Tools)
debugging, (Summary)
(see also error handling; internal debugging; troubleshooting)
JavaScript, (How can I debug JavaScript?)
log4net, (How do I debug log4net?)
declarative data binding
using ObjectDataSource control, (Solution)
defaults
GridView formatting properties, (Discussion)
machineKey section of Web.config.comments, (Solution)
SQL server instance, (Solution)
delegates, (Summary)
(see also action delegates; anonymous delegates)
defined, (Solution)
reusing, (Using Reusable Delegates)
delimited strings
concatenating from object properties, (How do I concatenate delimited strings from object properties?)
denying
all users, (Solution)
dependencies (see SQL cache dependencies)
deployment (see publishing; Web Deployment Project)
DetailsView control
about, (Solution)
development tools
CSS, (CSS Development Tools)
dialogs (see download dialogs)
Dictionary collection type
about, (The Hashtable and the Dictionary)
disabling
view state, (Removing View State)
disconnected data access
defined, (Solution)
disk space
third-party web hosting, (Solution)
displaying
content based on roles, (How do I display content based on roles?)
database tables, (How do I display the contents of a database table?)
download dialogs, (Understanding Content Types)
formatted strings, (How do I display formatted strings?)
objects as strings, (How do I display an object as a string?)
scraped content, (Displaying the Scraped Content)
DotNetNuke open source project, (Recommended Open Source Projects)
download dialogs
displaying, (Understanding Content Types)
downloading
tabular data into Excel, (How can I allow users to download tabular data as a Microsoft Excel file?)
drop-downs
adding to a GridView, (How do I add a data-bound drop-down to a GridView?)
DropDownList
filling from database tables, (How do I fill a DropDownList from a database table?)
DropDownList control
paging, (Discussion)
DTA
SQL workload script file, (Solution)
dynamic images
quality, (How can I improve the quality of my dynamic images?)
Dynamic Management Views (DMVs)
about, (Solution)

E

elements, (Summary)
(see also header elements)
accessing via an index, (The Hashtable and the Dictionary)
ELMAH (Error Logging Modules And Handlers)
using, (Solution)
email, (Summary), (Working with Email)
(see also mail servers)
attaching files to email, (How do I attach a file to my email?)
sending HTML email, (How do I send an HTML email?)
sending personalized form letters, (How do I send personalized form letters?)
sending plain-text emails, (How do I send a plain-text email?)
sending without waiting for completion, (How do I send an email without waiting for it to complete?)
submitting content via email, (How do I allow users to submit content via email?)
embedding
client validation functions, (Embedding the Client Validation Function)
resources in components, (How do I embed resources into my components?)
enabling
internal debugging, (Solution)
paging, (Solution)
session states for web farms, (How can I maintain session state in a web farm using a state server?)
encryption
passwords, (Solution)
Web.config sections, (How can I encrypt a section of my Web.config file?)
Enterprise Library
about, (Solution)
error handling, (Summary), (Handling Errors)
(see also debugging; internal debugging; troubleshooting)
debugging log4net, (How do I debug log4net?)
exceptions, (How can I handle exceptions in my code?)
pre-built exception handling, (How can I use a pre-built exception handling strategy?)
tracing, (How do I perform tracing?)
web sites, (How can I handle errors in my web site?)
writing log files, (What’s the best way to write a log file?)
Essential ASP.NET with Examples in C#, (Reference Books)
event handler method
SelectedIndexChanged events, (Solution)
Event object
using, (Solution)
event providers
health monitoring, (Handling Exceptions Via Health Monitoring)
event validation
GridView, (Discussion)
Event.observe method
using, (Solution)
events, (Summary)
(see also asynchronous events; onreadystatechange event handler; ServerValidate event handler)
handling, (Solution)
Excel
downloading tabular data, (How can I allow users to download tabular data as a Microsoft Excel file?)
exception handling
pre-built, (How can I use a pre-built exception handling strategy?)
exceptions
handling, (How can I handle exceptions in my code?)
trace, (Solution)
EXIF fields
about, (Solution)
exporting
multiple Excel worksheets, (Numeric Formatting and Formulæ)
extensions (see file extensions)
external files
appSettings, (Solution)

F

FCKeditor open source project, (Recommended Open Source Projects)
Fiddler
JavaScript debugging, (Using Fiddler)
file extensions
handled by ASP.NET, (URL Rewriting Via .NET Code)
remapping in IIS, (Solutions)
files (see attachments; external files; images)
filtering
data, (How do I sort and filter data?)
databases versus application code, (Discussion)
generic collections, (How do I filter items in a generic collection?)
FindControl method
using, (How can my content page override data on my master page?)
finding
machine.config, (Discussion)
Firebug
JavaScript debugging, (Using Firebug)
Firebug Firefox extension
about, (CSS Development Tools)
First In, First Out (FIFO) collection
queues, (Queue)
flushing
versus batching, (The Naïve Solution’s Pitfalls)
ForEach method
action delegates, (Using Generic Methods)
foreign keys
stored procedures, (Solution)
forgotten passwords
recovering, (How do I grant access to users who have forgotten their passwords?)
form letters
sending via email, (How do I send personalized form letters?)
form validation, (Form Validation)
building validator controls, (How do I build my own validator control?)
client-side validation, (How do I perform custom client-side validation?), (How do I perform client-side validation with my custom validator control?)
custom validation, (How do I set up custom validation?)
form input, (How do I validate form input?)
multiple forms, (How do I validate multiple forms?)
formatting, (Summary)
(see also String.Format command)
default GridView properties, (Discussion)
forms (see form validation; web form development)
formulæ
Excel, (Numeric Formatting and Formulæ)
framework tools
JavaScript debugging, (Using Framework Tools)
free stuff
third-party web hosting, (Free Stuff)
functions, (Summary)
(see also specific functions)
as objects, (Solution)
client validation, (Understanding the Client Validation Function)

G

Galloway, Jon
blog, (ASP.NET-focused Blogs)
GDI+ (Graphics Device Interface)
about, (Solution)
generated IDs
Ajax, (How do I work with generated IDs?)
generating, (Summary)
(see also web-based code generators)
data access layer, (How do I automatically generate a data access layer?), (Generating your DAL)
machine keys, (Solution)
generic classes
BatchIterator class as an example of, (The BatchIterator Class Solution)
generic collections
ASP .NET generic collections, (Solution)
filtering, (How do I filter items in a generic collection?)
generic handlers
using, (Using a Generic Handler)
generic lists
converting to classes, (How do I convert generic lists to specific classes?)
generic methods
reusing with collections, (Using Generic Methods)
generics
.NET 2.0 core libraries, (How do I use generics?)
GetKey method
about, (Solution)
GetPropertyItem method
using, (Solution)
GIF format
limitations of, (Discussion)
global application states
storing, (Where should I store application state?)
global data
storing, (Where should I store application state?), (Storing Data in the Cache), (Storing Data in Application Variables)
global.asax file
exception handling, (Specifying Exception Handling in the global.asax and Web.config Files)
GNU GPL (General Public License), (Open Source Licensing)
Google
page ranking, (How does Google rank pages?)
Google Groups
USENET newsgroups, (Google Groups)
graphics (see dynamic images; images)
grids (see paged grids)
GridView class
SqlDataSource, (Solution)
GridView control, (Pushing the Boundaries of the GridView)
custom paging, (How do I implement custom paging?)
data-bound drop-down, (How do I add a data-bound drop-down to a GridView?)
downloading tabular data into Excel, (How can I allow users to download tabular data as a Microsoft Excel file?)
sort state, (How do I display the sort state?)
sorting on multiple columns, (How do I sort on multiple columns?)
Guthrie, Scott
blog, (ASP.NET-focused Blogs)

H

Haack, Phil
blog, (ASP.NET-focused Blogs)
handlers, (Summary)
(see also generic handlers; onreadystatechange event handler; ServerValidate event handler)
images, (How can I use a handler to control access to the images on my site?)
real bar graphs, (How do I create a real bar graph handler?)
handling
connection errors, (Discussion)
events, (Solution)
exceptions, (How can I handle exceptions in my code?)
file extensions, (URL Rewriting Via .NET Code)
InvalidCastException, (Discussion)
Hanselman, Scott
blog, (ASP.NET-focused Blogs)
Hashtable collection type
about, (The Hashtable and the Dictionary)
header elements
modifying in master pages, (How do I modify header elements in a master page?)
health monitoring
exception handling, (Handling Exceptions Via Health Monitoring)
HotlinkProtection class
using, (Solution)
HTML email
sending, (How do I send an HTML email?)
HTML output
span tags, (What are all these span tags doing in my HTML output?)
HtmlEncode property
columns, (Discussion)
HTTP
states of, (Maintaining State)
HTTP compression support
ASP.NET, (Enabling HTTP Compression Support in an ASP.NET Application)
IIS 6.0, (Enabling HTTP Compression Support in IIS 6)
HttpContext.Items
compared to Page.Items, (Solution)
HttpHandler class
protecting images, (Solution)
requesting, (How do I request an HttpHandler?)
writing raw data to response, (Solution)
HttpModule class
error handling, (Handling Errors Via HttpModule)
moving ViewState, (Creating an HttpModule)

I

IDs
generated, (How do I work with generated IDs?)
IEnumerable method
binding to objects, (Solution)
paging, (Solution)
IIS
remapping file extensions, (Solutions)
wildcard mappings, (Using a Custom HttpHandler)
images, (Summary)
(see also dynamic images)
access to with a handler, (How can I use a handler to control access to the images on my site?)
retrieving in HTML email, (Discussion)
indexes
about, (Lack of Indexes)
accessing elements, (The Hashtable and the Dictionary)
inheritance
in ASP.NET, (Discussion)
ControlState, (Solution)
CSS, (Simple CSS Inheritance)
MasterPage class, (Solution)
injection
compared to data binding, (Discussion)
input
forms validating, (How do I validate form input?)
internal debugging
enabling, (Solution)
Internet Explorer Developer Toolbar
about, (CSS Development Tools)
InvalidCastException
handling, (Discussion)
IsKeyValid method
about, (Solution)
IsReusable property
about, (Solution)
iterators
BatchIterator class, (The BatchIterator Class Solution)

J

JavaScript, (Summary), (Ajax and JavaScript)
(see also Ajax)
debugging, (How can I debug JavaScript?)
history of, (Ajax and JavaScript)
libraries, (How can libraries make writing robust, cross-platform JavaScript easier?)
writing, (How can I write better JavaScript?)
JIT compiler
generics, (Solution)
Join method
concatenating Party objects, (Solution)
JPEG format
using, (Solution)

K

keys (see foreign keys)

L

labeling
source control, (Labeling)
languages, (Summary)
(see also Ajax; C# programming language; JavaScript)
prototype-based, (Solution)
Last In, First Out (LIFO) collection
stacks, (Stack)
letters (see form letters)
libraries, (Summary)
(see also .NET 2.0 core libraries)
JavaScript, (How can libraries make writing robust, cross-platform JavaScript easier?)
List collection type, (Solution)
about, (The ArrayList and the List<T>)
List.FindAll method
match predicates, (Solution)
LoadControlState method
using, (Solution), (Discussion)
log files
writing, (What’s the best way to write a log file?)
log4net
debugging, (How do I debug log4net?)
log4net framework
using, (What’s the best way to write a log file?)
Log4Net open source project, (Recommended Open Source Projects)
login
about, (How do I require users to log in?)
LoginView control
displaying content based roles, (Solution)
logs
sending emails, (Solution)

M

machine keys
about, (Solution)
machine.config
finding, (Discussion)
mail servers
third-party web hosting, (Solution)
MailDefinition class
using, (Discussion)
mailSettings element
configuring, (Solution)
managing
users, (How do I manage users on my site?)
mapping (see wildcard mapping)
master pages
about, (How can I use master pages?)
content pages overriding data on, (How can my content page override data on my master page?)
interactions with content pages, (How can I have my master page interact with my content page?)
modifying header elements, (How do I modify header elements in a master page?)
URLs in, (How do I use URLs in a master page?)
match predicates
filtering general collections, (Solution)
membership
adding, (What’s the easiest way to add membership to my site?)
MembershipProvider class
user login, (How do I require users to log in?)
menus
CSS, (How do I make sense of the CSS maze produced by the CSS Friendly menu?)
using, (How do I use ASP.NET’s fancy menus without the fancy HTML?)
methods (see specific methods)
MIME messages
multi-part, (Solution)
MIME types (see content types)
minutes
mnemonic, (How Powerful is String.Format?)
monitoring (see health monitoring)
months
mnemonic, (How Powerful is String.Format?)
moving
view state, (Moving View State)

N

named connection strings
in Web config files, (Solution)
naming container control
user interfaces, (Solution)
nested data binding
explained, (Discussion)
NHibernate open source project, (Recommended Open Source Projects)
node position, (Displaying the Scraped Content)
non-clustered index
about, (Lack of Indexes)
Null Coalescing Operator
ViewState, (Solution)
number formatting specifiers
String.Format command, (How Powerful is String.Format?)
numeric formatting
Excel, (Numeric Formatting and Formulæ)
NUnit open source project, (Recommended Open Source Projects)

O

object properties
concatenating as delimited strings, (How do I concatenate delimited strings from object properties?)
ObjectDataSource control
column fields, (Solution)
DataTable objects, (Solution)
declarative data binding, (Solution)
ObjectDataSource objects
managing users, (Solution)
objects, (Summary)
(see also specific objects)
as strings, (How do I display an object as a string?)
binding to objects that support IEnumerable, (Solution)
boxing and unboxing, (Solution)
declarative data binding using ObjectDataSource, (Solution)
functions as, (Solution)
ObjectDataSource in DataTable, (Solution)
Onion, Fritz, (ASP.NET-focused Blogs)
onreadystatechange event handler
using, (How can I write better JavaScript?)
open source code, (How do I go about using open source code?)
optimization, (Performance and Scaling)
about, (How do I determine what to optimize?)
ASP.NET cache, (How can I gain more control over the ASP.NET cache?)
bandwidth, (How can I decrease the bandwidth that my site uses?)
database queries, (How do I speed up my database queries?)
query speed, (How can I troubleshoot a slow query?)
refreshing the cache, (How do I refresh my cache when the data changes?)
speed of site, (How can I improve the speed of my site?)
view state, (How can I make sure my custom control works when view state is turned off?), (How can I decrease the size of the view state?)
Orcas debugger
CSS, (CSS Development Tools)
overriding
data on master pages, (How can my content page override data on my master page?)

P

page ranking
Google, (How does Google rank pages?)
page rendering
partial, (How do I perform partial page rendering?)
Page.Items
compared to HttpContext.Items, (Solution)
paged grids
Search Engine Optimization, (Solution)
PageRank system
about, (Solution)
PagerSettings element
about, (How do I implement custom paging?)
pages, (Summary)
(see also 404 pages; ASP.NET pages; AutoScaffold page; content pages; master pages; parameterized pages)
accessing view state, (What’s the cleanest way to access a page’s view state?)
rendering, (How do I perform partial page rendering?)
size of, (Solutions)
paging, (Summary)
(see also database paging)
enabling, (Solution)
GridView control, (How do I implement custom paging?)
parameterized pages
caching, (Solution)
parsing
email, (Discussion)
Party objects
concatenating, (Solution)
passwords
forgotten, (How do I grant access to users who have forgotten their passwords?)
patterns (see ActiveRecord pattern; cache data reference pattern; provider pattern; reluctant cache pattern)
per-request state
web applications, (How do I maintain per-request state in a web application?)
performance (see optimization)
performance dashboard
using, (Solution)
PINs
validating, (Solution)
plain-text emails
sending, (How do I send a plain-text email?)
PNG (Portable Network Graphic) format
web images, (Solution)
POP3 protocol
receiving email, (How do I allow users to submit content via email?)
storing email on server, (Solution)
post-cache substitution
using, (Solution)
postbacks
control state, (Solution)
Search Engine Optimization, (Solution)
predicates, (Summary)
(see also match predicates)
defined, (Solution)
primitive types
storing state information, (Solution)
procedures (see stored procedures)
ProcessRequest method
using, (Solution)
Professional ASP.NET 2.0, Special Edition, (Reference Books)
properties (see public properties; strongly typed properties) (see specific properties)
protocols (see HTTP)
prototype property
using, (Solution)
prototype-based Languages
about, (Solution)
provider pattern
DAAB, (Solution)
public properties
master pages, (Using a Strongly Typed Property)
publishing
Web Site project, (How do I deploy my web site?)

Q

quality
dynamic images, (How can I improve the quality of my dynamic images?)
quantization
GIF format, (Discussion)
queries
optimization, (How do I speed up my database queries?)
speed, (How can I troubleshoot a slow query?)
writing, (Poorly Written Queries)
query plan
checking, (Checking the Query Plan)
Queue collection type
about, (Queue)

R

reading
data from databases, (How do I read data from my database?)
readyState property
about, (How can I write better JavaScript?)
rebasing (see URL rebasing)
reboots
maintaining session states, (How can I maintain session state in a web farm using a database?)
records
modifying single, (How do I allow the modification of a single record?)
recovering
forgotten passwords, (How do I grant access to users who have forgotten their passwords?)
recursive logic
stacks, (Stack)
redirecting URLs
Search Engine Optimization, (URL Rewriting Via .NET Code)
reference books (see books)
Reflector
troubleshooting using, (How can I tell what’s going on behind the scenes?)
refreshing
UpdatePanels, (How do I periodically refresh an UpdatePanel?)
registering
client validation functions, (Registering the Client Validation Function)
users, (How do I allow users to register for my site?)
reliability
third-party web hosting, (Reliability)
reluctant cache pattern, (Discussion)
remapping
file extensions in IIS, (Solutions)
rendering, (Summary)
(see also binary content)
pages, (How do I perform partial page rendering?)
simple bars, (How do I render simple bars?)
Repeater control
about, (Solution)
repositories
source control, (The Repository)
reserved characters
formatting strings, (Discussion)
ResolveClientUrl method
master pages, (Using the ResolveClientUrl Method)
resources
ASP.NET, (Where can I find more information about ASP.NET?)
ConnectionStrings web site, (Solution)
embedding in components, (How do I embed resources into my components?)
open source .NET, (Finding Open Source .NET Resources)
open source projects, (Recommended Open Source Projects)
reference books, (Reference Books)
restart
on external changes to Web.config, (Solution)
retrieving
basic configuration settings, (How do I store and retrieve basic settings?)
rewriting, (Summary)
(see also writing)
custom 404 pages, (URL Rewriting with a Custom 404 Page)
URLs, (How do I rewrite my URLs for human readability?), (URL Rewriting Via .NET Code)
roles
displaying content, (How do I display content based on roles?)
rows
selecting, (Solution)

S

sa SQL Server user accounts
connecting to databases, (Solution)
SaveControlState method
using, (Solution), (Discussion)
scaling (see optimization)
scans (see table scans)
screen scrapers
building, (How do I build a screen scraper?)
scripts (see SQL workload script file)
Search Engine Optimization, (Search Engine Optimization)
descriptive search results, (How do I ensure my web pages produce descriptive search results?)
page ranking in Google, (How does Google rank pages?)
rewriting URLs, (How do I rewrite my URLs for human readability?)
search-relevant content, (How do I ensure search engines review only search-relevant content?)
web page visibility, (How do I ensure my web pages are visible to search engines?)
SearchTerm property
user controls, (Solution)
security
email input, (Discussion)
event validation, (Discussion)
images, (Solution)
third-party web hosting, (Security)
webadmin.axd file, (Solution)
SELECT *
problem with, (The Problem with SELECT *)
SELECT * Queries
SqlCacheDependency, (Solution)
SelectedIndexChanged events
event handler methods, (Solution)
selectors
CSS, (Getting Back to that Menu …)
server controls
CSS Friendly Control Adapters Kit, (Solution)
servers, (Summary)
(see also SQL Server; state servers)
optimization, (Hardware Issues)
storing email using POP3, (Solution)
storing view state on, (Storing View State on the Server)
validating on, (Solution)
ServerValidate event handler
form validation, (Solution)
service packs
Visual Studio, (Creating a Web Application Project)
Session objects
storing state information, (How can I maintain session state in a web farm using a state server?)
session states
compared to per-request states, (How can I maintain session state in a web farm using a state server?)
enabling for web farms, (How can I maintain session state in a web farm using a state server?)
reboots, (How can I maintain session state in a web farm using a database?)
setting
machine keys, (Solution)
SkinID attribute
themes, (Discussion)
Smith, Steven
on cache data reference patterns, (Discussion)
sort state
GridView control, (How do I display the sort state?)
SortDirection property
changing, (Discussion)
SortedDictionary collection type
about, (SortedList and SortedDictionary)
SortedList collection type
about, (SortedList and SortedDictionary)
sorting
data, (How do I sort and filter data?)
databases versus application code, (Discussion)
source code (see open source code)
source control, (How do I use source control?)
span tags
HTML output, (What are all these span tags doing in my HTML output?)
speed
optimization, (How can I improve the speed of my site?)
queries, (How can I troubleshoot a slow query?)
SpreadsheetML format, (Numeric Formatting and Formulæ)
SQL cache
clearing when testing, (Verifying the Problem)
SQL cache dependencies
older versions of SQL Server, (Solution)
SQL injection
about, (How do I build a data access layer?)
SQL Profiler and Database Tuning Advisor
using, (Solution)
SQL Server
cache dependencies, (Solution)
configuring, (Configuring SQL Server)
default instance of, (Solution)
sa accounts, (Solution)
SQL workload script file
DTA, (Solution)
SqlCacheDependency
SELECT * Queries, (Solution)
SqlCommand class
defined, (Solution)
SqlConnection class
defined, (Solution)
SqlDataReader class
defined, (Solution)
SqlDataSource
GridView, (Solution)
SqlDataSource control
limitation, (How can I data bind without using the SqlDataSource?)
SSL certificates
third-party web hosting, (Solution)
Stack collection type
about, (Stack)
standards (see web standards)
starting
state servers, (Solution)
state servers
session states, (How can I maintain session state in a web farm using a state server?)
starting automatically, (Solution)
states, (Maintaining State)
accessing view state, (What’s the cleanest way to access a page’s view state?)
custom controls with view state off, (How can I make sure my custom control works when view state is turned off?)
enabling session states for web farms, (How can I maintain session state in a web farm using a state server?)
per-request states in web applications, (How do I maintain per-request state in a web application?)
session states across reboots, (How can I maintain session state in a web farm using a database?)
storing application states, (Where should I store application state?)
static private members
storing application state information, (Storing Data in Static Variables)
static variables
storing application state information, (Storing Data in Static Variables)
statistics
reports from third-party web hosting services, (Statistics)
sticky load balancing
defined, (How can I maintain session state in a web farm using a state server?)
stored procedures
foreign keys, (Solution)
storing
basic configuration settings, (How do I store and retrieve basic settings?)
connection strings, (How do I store connection strings?)
ViewState on server, (Storing View State on the Server)
streams
choosing, (Scraping the Content)
String.Format command
concatenation, (Solution)
uses of, (How Powerful is String.Format?)
strings, (Summary)
(see also connection strings; named connection strings)
about, (How do I use strings?)
conversion from objects, (How do I display an object as a string?)
strongly typed properties
using, (Using a Strongly Typed Property)
styling
GridView, (Discussion)
SubCommander
data access layer, (Generating your DAL)
submitting
content via email, (How do I allow users to submit content via email?)
SubSonic
about, (Solution)
SubSonic Central
web-based code generator, (Generating your DAL)
SubSonic open source project, (Recommended Open Source Projects)
substitution (see post-cache substitution)
synchronizing
machine keys, (Solution)
System.Net.Mail
using, (Solution)
versus System.Web.Mail, (How do I send a plain-text email?)
System.Web.Mail
warning about, (How do I send a plain-text email?)

T

table scans
about, (Lack of Indexes)
tables
CSS inheritance, (CSS Inheritance and Tables)
tabular data
downloading into Excel, (How can I allow users to download tabular data as a Microsoft Excel file?)
tagging (see labeling)
templates, (Summary)
(see also master pages; web form templates)
displaying content based on roles, (Solution)
text (see plain-text emails)
themes
using in conjunction with CSS, (How do I use themes effectively in conjunction with CSS?)
third-party web hosting
explained, (How do I choose a third-party web host?)
time, (Summary)
(see also DateTime values)
formatting, (How Powerful is String.Format?)
Titan IVB rocket
source control, (How do I use source control?)
title element
Search Engine Optimization, (How do I ensure my web pages produce descriptive search results?)
tools, (Summary)
(see also Ajax Control Toolkit; development tools; framework tools)
source control, (Source Control Tools)
Top Style Pro debugger
CSS, (CSS Development Tools)
TortoiseSVN, (Source Control Tools)
ToString method
displaying formatted strings, (Solution)
in .NET classes, (Solution)
tracing
error handling, (How do I perform tracing?)
optimization, (Solution)
TransmitFile method
versus WriteFile method, (Writing Binary Content)
troubleshooting, (Summary)
(see also debugging; error handling; internal debugging)
databases, (Discussion)
query speed, (How can I troubleshoot a slow query?)
UpdatePanel, (Discussion)
using Reflector, (How can I tell what’s going on behind the scenes?)
trusted connections
session state databases, (Configuring ASP.NET)
TrustRank system
about, (Solution)
two-way data binding
support for, (Discussion)
type parameter
defined, (Solution)
types (see collection types; value types)

U

unboxing
objects, (Solution)
UpdatePanel
troubleshooting, (Discussion)
UpdatePanels
refreshing, (How do I periodically refresh an UpdatePanel?)
URL rebasing
master pages, (Using URL Rebasing)
URLs, (Summary)
(see also absolute URLs)
in master pages, (How do I use URLs in a master page?)
redirecting, (URL Rewriting Via .NET Code)
rewriting for human readability, (How do I rewrite my URLs for human readability?)
rewriting via .NET code, (URL Rewriting Via .NET Code)
USENET newsgroups
ASP.NET information, (Google Groups)
user controls, (Summary)
(see also access control)
as components, (How do I treat user controls as components?)
user interfaces
elements reusable components, (Solution)
master pages, (Discussion)
using
making use of, (Solution)

V

validation
checks in ConfigurationValidatorBase, (Solution)
events, (Discussion)
ValidationGroup attribute
about, (Solution)
validator controls
building, (How do I build my own validator control?)
value types
converting between, (Solution)
variables (see application variables; static variables)
VaryByParam method
caching parameterized pages, (Solution)
view state
accessing, (What’s the cleanest way to access a page’s view state?)
Search Engine Optimization, (How do I ensure search engines review only search-relevant content?)
size of, (How can I decrease the size of the view state?)
ViewPostCount property
using, (Solution)
ViewState-backed property, (Solution)
Visual Studio
JavaScript debugging, (Using Visual Studio)
Orcas debugger, (CSS Development Tools)
service packs, (Creating a Web Application Project)
web standards, (ASP.NET and Web Standards)

W

watermark
code example, (Solution)
Web Application Project
compared to Web Site project, (Web Site Projects Versus Web Application Projects)
Web Application project
creating, (Creating a Web Application Project)
web applications
per-request states, (How do I maintain per-request state in a web application?)
web browsers (see browsers)
Web Deployment project, (Solution)
web farms
enabling session states, (How can I maintain session state in a web farm using a state server?)
web form development, (Summary), (Component-based Development)
(see also form validation)
content pages overriding data on master pages, (How can my content page override data on my master page?)
embedding resources in components, (How do I embed resources into my components?)
master page interactions with content pages, (How can I have my master page interact with my content page?)
master pages, (How can I use master pages?)
modifying header elements in master pages, (How do I modify header elements in a master page?)
URLs in master pages, (How do I use URLs in a master page?)
user controls as components, (How do I treat user controls as components?)
using themes in conjunction with CSS, (How do I use themes effectively in conjunction with CSS?)
web form templates
spans, (Solution)
web hosting (see third-party web hosting)
web pages
visibility do search engines, (How do I ensure my web pages are visible to search engines?)
Web Site Administration Tool (WSAT)
managing users, (How do I manage users on my site?)
Web Site Project, (Which web project model should I choose?)
compared to Web Application Project, (Web Site Projects Versus Web Application Projects)
Web Site project
creating, (Creating a Web Site Project)
publishing, (How do I deploy my web site?)
Web Site project model
tradeoff, (Generating your DAL)
web sites
error handling, (How can I handle errors in my web site?)
web standards, (ASP.NET and Web Standards)
CSS, (How do I make sense of the CSS maze produced by the CSS Friendly menu?)
DataList-style functionality, (How do I obtain DataList-style functionality without using a table?)
menus, (How do I use ASP.NET’s fancy menus without the fancy HTML?)
span tags, (What are all these span tags doing in my HTML output?)
web-based code generators
SubSonic, (Generating your DAL)
Web.config file
connectionStrings section, (Solution)
custom configuration section, (How do I create a custom configuration section?)
encrypting sections, (How can I encrypt a section of my Web.config file?)
exception handling, (Specifying Exception Handling in the global.asax and Web.config Files)
managing values, (How can I manage Web.config values between deployment environments?)
simplifying, (How can I simplify my Web.config file?)
webadmin.axd file
security, (Solution)
WebResource attributes
web form development, (Solution)
WebResource.axd file
web form development, (Solution)
wildcard mapping
IIS, (Using a Custom HttpHandler)
using, (Solutions)
worksheets
exporting, (Numeric Formatting and Formulæ)
WriteFile method
versus TransmitFile method, (Writing Binary Content)
writing, (Summary)
(see also rewriting)
binary content, (How do I write binary content?)
JavaScript, (How can I write better JavaScript?), (How can libraries make writing robust, cross-platform JavaScript easier?)
log files, (What’s the best way to write a log file?)
non-text binary data, (How do I write non-text binary data?)
Queries, (Poorly Written Queries)
raw data to response, (How do I write raw data to the response?)

X

XHR (see XMLHttpRequest object)
XML
Excel file format, (Numeric Formatting and Formulæ)
XML namespaces
XPath statements, (Discussion)
XmlDataSource class
XPath statements that use XML namespaces, (Discussion)
XMLHttp object
form validation, (Solution)
XMLHttpRequest
form validation, (Solution)
object, (Ajax and JavaScript), (Discussion), (Solution)
XPath statements
XML namespaces, (Discussion)

SitePoint Books

  • advocate best practice techniques
  • lead you through practical examples
  • provide working code for your web site
  • make learning easy and fun

100% Money Back Guarantee