Best Practices
-SharePoint Avoiding memory leaks
-Use Dispose appropriately
-Use SPDidsposeCheck utility to identify issues
-General Rules
--No need to dispose from SPContext
--if you use new, you should use dispose()
--Use dispose when
---Enumerating AllWebs or Webs
---OpenWeb
-Don't use dispose with
--ParentWeb
--RootWeb
SPDisposeCheck to be installed and put. a post build event to fire it and specify the subdir filter the output to some text file and include it in the project.
Developer Dashboard
-Metrics and trace of page load
-can be activated via stsadm or powershell script
---stsadm -o setproperty -pn developer-Dashboard -pv OnDemand
-Logs --14\logs --Correlation Id -Modify web.config file. --
--
-SharePoint Avoiding memory leaks
-Use Dispose appropriately
-Use SPDidsposeCheck utility to identify issues
-General Rules
--No need to dispose from SPContext
--if you use new, you should use dispose()
--Use dispose when
---Enumerating AllWebs or Webs
---OpenWeb
-Don't use dispose with
--ParentWeb
--RootWeb
SPDisposeCheck to be installed and put. a post build event to fire it and specify the subdir filter the output to some text file and include it in the project.
Developer Dashboard
-Metrics and trace of page load
-can be activated via stsadm or powershell script
---stsadm -o setproperty -pn developer-Dashboard -pv OnDemand
-Logs --14\logs --Correlation Id -Modify web.config file. --
No comments:
Post a Comment