Mack & Seven's ASP.NET Tips
Turning Off Features You Don't Use
ASP.NET enables you the ability to turn on and off features that you don't use on either a page or application wide basis. A couple examples that are expensive that should be turned off if you aren't using them follow:
Session State - if your web application doesn't use session state (sessions) you have the ability to disable sessions.
View State - server control view state (maintaining a controls values on round trips to the server automatically)
Minimize Round Trips to the Server
Use the SqlDataReader or OleDbDataReader instead of the DataSet whenever possible
Whenever it is applicable use either the SqlDataReader or OleDbDataReader for a fast forward-only bindable data retrieval object. Readers use Tabular Data Stream protocol (TDS), to read a data stream directly from your database connection. TDS packets are created by SQL Server to transfer requests and responses between itself and the client and are sent via TDS. Objects like the DataSet need a "Bridge" to read data from a data source. The DataSet depends on either the SqlDataAdapter or OleDbDataAdapter retrieve data. These adapters in turn use one of the DataReaders to read the data into the DataSet.