Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
12Activity
0 of .
Results for:
No results containing your search query
P. 1
Checklist ASP NET Performance

Checklist ASP NET Performance

Ratings:

4.0

(2)
|Views: 168 |Likes:
Published by satish_121

More info:

Published by: satish_121 on Apr 16, 2008
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

03/17/2011

pdf

text

original

 
Checklist: ASP.NET Performance
Design Considerations
Check Description
Consider security and performance.Partition your application logically.Evaluate affinity.Reduce round trips.Avoid blocking on long-running tasks.Use caching.Avoid unnecessary exceptions.
Threading
Check Description
Tune the thread pool by using the formula to reducecontention.Consider
minIoThreads
and
minWorkerThreads
for burst load.Do not create threads on a per-request basis.Avoid blocking threads.Avoid asynchronous calls unless you have additionalparallel work.
Resource Management
Check Description
Pool resources.Explicitly call
Close
or
Dispose
on resources youopen.Do not cache or block on pooled resources.Know your application allocation pattern.Obtain resources late and release them early.Avoid per-request impersonation.
 
Pages
Check Description
Trim your page size.Enable buffering.Use
Page.IsPostBack
to minimize redundantprocessing.Partition page content to improve caching efficiencyand reduce rendering.Ensure pages are batch compiled.Ensure debug is set to
false
.Optimize expensive loops.Consider using
Server.Transfer
instead of 
Response.Redirect
.Use client-side validation.
Server Controls
Check Description
Identify the use of view state in your servercontrols.Use server controls where appropriate.Avoid creating deep hierarchies of controls.
Data Binding
Check Description
Avoid using
Page.DataBind
.Minimize calls to
DataBinder.Eval
.
Caching
Check Description
Separate dynamic data from static data in yourpages.Configure the memory limit.Cache the right data.Refresh your cache appropriately.Cache the appropriate form of data.
 
Use output caching to cache relatively static pages.Choose the right cache location.Use
VaryBy
attributes for selective caching.Use kernel caching on Microsoft® Windows Server™2003.
State Management
Check Description
Store simple state on the client where possible.Consider serialization costs.
Application State
Check Description
Use static properties instead of the
Application
object to store application state.Use application state to share static, read-only data.Do not store single-threaded apartment (STA) COMobjects in application state.
Session State
Check Description
Prefer basic types to reduce serialization costs.Disable session state if you do not use it.Avoid storing STA COM objects in session state.Use the
ReadOnly
attribute when you can.
View State
Check Description
Disable view state if you do not need it.Minimize the number of objects you store in viewstate.Determine the size of your view state.
HTTP Modules

Activity (12)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
prashant_p2b liked this
alexandergsam liked this
jamesli7478 liked this
satya1401 liked this
Selva Kumar liked this
manojrane liked this
abinash_patra liked this
ysgadre liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->