This article gives a simple checklist that can simply be run on any ASP .Net Web Page to optimize it. This is in no way a complete list, however it should work for most of the web pages. For a performance critical application you will surely need to go beyond this checklist and will require a more detailed plan.
Here is the list of checks that you need to run, not necessarily in order:
// // Try // 'Create Db Connection and call a query // sqlConn = New SqlClient.SqlConnection(STR_CONN) // Catch ex As Exception // 'Throw any Error that occurred // Throw ex // Finally // 'Free Database connection objects // sqlConn = Nothing //End Try //
// // <% @OutputCache Duration="60" VaryByParam="none" %> //Learn more about "VaryByParam" and "VaryByControl" for best results.
// // <%@ Page EnableSessionState="false" %> //If the page only reads session but does not write anything in session, then make it read only.
// // '<%@ Page EnableSessionState="ReadOnly" %> //
| You must Sign In to use this message board. | |||||||||||
|
|||||||||||
|
|||||||||||
|
|||||||||||