Connection Pooling and Integration Tests

On my current project we recently started getting the following error while running integration tests as part of continuous integration build. System.InvalidOperationException: Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. I tested …

Continue reading ‘Connection Pooling and Integration Tests’ »

More on WinDbg, Memory Leaks and Silverlight

I blogged a long time ago on how to use WinDbg to find memory leaks in Silverlight application.  Yesterday I had to face a variation of the problem, but this time I had to debug a custom issue.  So, what we did is have customer create memory dumps.  To do that we instructed them to …

Continue reading ‘More on WinDbg, Memory Leaks and Silverlight’ »

More on jqGrid and getRowData function in edit mode

I blogged a while back on shortcoming of getRowData function of jqGrid in edit mode.  I also recently ran into an issue when getRowData was returning blank for a cell that contains select (dropdown) control in edit mode.  So, I wrote a quick function that I wanted to post here to help others that handles …

Continue reading ‘More on jqGrid and getRowData function in edit mode’ »

TransactionScope and Connection Pooling in SQL Server

There is one very interesting behavior of connection pooling feature in .NET framework / SQL Server that I learned yesterday.  You can read the Connect issue here.  Interestingly enough, default setting for TransactionScope object is to use Serializable Isolation Level. Here is a typical scenario to put the problem in perspective. An application is using …

Continue reading ‘TransactionScope and Connection Pooling in SQL Server’ »

Performance Considerations for Entity Framework 5

If you are wondering how many cool features are coming in Entity Framework 5.0, the EF team wrote an awesome white paper on performance improvements and tips to get the best performance out of EF.  Please read the article here. To me this article proves a great commitment that Microsoft as a company has to …

Continue reading ‘Performance Considerations for Entity Framework 5’ »