Tracking down objects not conforming to sharepoint disposal best practices

Background: All SPsite and SPweb objects make use of unmanaged code and needs to be disposed off explicitly in the finally method or by making use ofthe ‘using’ statement. Below is the sample that shows appropriate use of sharepoint object model. Below is the recommended sample code for above that makes use of Dispose ()…


How to: Create a web test plug-in to extract and store an array of values using Visual Studio Team system

Applies to · Microsoft® Visual Studio® Team System · Performance Testing · Web Testing Summary This article explains how to create a web test plug-in to automate scenarios where the numbers of form post parameters for a web request are dynamic in nature. The web test plug-in is a custom extraction rule which extracts a…

8

Debugging OutOfMemoryExceptions in managed code using Windbg

Before you start debugging make sure you have the symbols path set appropriately. Below link shows you how to configure symbol path http://blogs.msdn.com/johan/archive/2007/11/13/getting-started-with-windbg-part-i.aspx Once you have the right dump with you open the crash dump through windbg and load sos.dll using the command .load sos. Windbg by default will show the native stack and for…

3

Troubleshooting SQL Deadlocks with Read Committed Isolation using Row versioning

Background : SQL server 2005 introduces a new isolation level called the row versioning with Read Committed Snapshot. This setting is useful in case where there are reader-writer conflicts only. With this setting on, SQL server maintains versions of each row of data in tempdb. Readers do not acquire a shared lock on the data…

1

Improving application Start up time: GeneratePublisherEvidence setting in Machine.config

Background : When assemblies are authenticode signed, the signed assemblies need to be verified by the certificate authority. When CA certificate is not present on the same machine the assemblies require network or internet access. If the signed assemblies are installed on machine where CA certificate is not on the same machine and does not…

1

Improving Application performance over WAN

Situation: The web application hosted on a server in India is performing well for end users in India. But the users in Europe are having a tough time accessing the web pages due to extremely slow response times. How would you reduce the risk considering you don’t have enough budgets to have a geographically distributed network…

4