site Search Results
Results for: dino esposito
Order the NEW
Discounted Dr. Dobb's Developer Library DVD 6
Purchase the fully searchable DVD for $59.95 - a 60% discount! Features
21 years of Dr. Dobb's Journal, 15 years of Sys Admin
magazine, 14+ years of C/C++ Users Journal, 1 year worth of Dr.
Dobb's Digest, podcasts, videos and more! Order Now.
Don't Like the URL? Change It
Dynamic URL generation is handy for redirections. Here are some tips for best practices when using the RewritePath method
Textbox AutoEncoding Improves Security
The standard TextBox control does not verify input text by default, and this creates a security hole that a cross-site scripting attack can exploit. Here's a custom TextBox control that will "autoencode" text input
Comparing List and Iterative Controls
List Controls such as DropDownList can access your data, but iterative controls, like DataGrid, Repeater, and DataList, let you modify the display of your data on the fly.
DataSet and the Session Object
Using out-of-process session state can make your ASP.NET app more robust, but the serialization involved can get costly, in both in performance bottlenecks and data-type conversion bloat
Lightweight Collections from Web Service Methods
The DataSet object's rich feature set makes it a popular data type in pure .NET projects, but if your web service needs to be truly interoperable, avoid DataSets and rely on a collection instead
Customizing the Authentication Cookie
You can use the authentication cookie to store encrypted and validated custom data such as a description of the users' role in your ASP.NET applications
Forms Authentication
You can easily restrict access to any ASP.NET resource by creating URL-specific logins that use Forms Authentication
Testing with a Client-Side Web MessageBox
VS.NET provides all mod cons for debugging and testing, but sometimes the best coding tool is a plain old message box
The Unappreciated ExtractTemplateRows Property
The ExtractTemplateRows property helps merge together multiple tables with different templates into one complex structure
Stateful ASP.NET Controls
You have some options for creating stateful custom web controls. Here are some tips for choosing the right one for your project