Found the below post in my drafts section. I should have released it a year ago but better late than never. Maybe someone with a deadlock problem on IIS and .NET 4.0 will find this piece of information useful. At the place where I am contracting at the moment, we recently (April 2013) went live… Continue reading Fixing an IIS deadlock
Tag: .NET
Strange Linq-to-SQL performance when using Count
Yesterday, I was writing a Linq-to-SQL query and noticed a quite remarkable difference in performance between two very similar queries (seconds versus minutes of running time). I thought it would be worth sharing. Basically, I have a bunch of orders that are represented by two SQL tables, called Basket and BasketItem. If an order e.g.… Continue reading Strange Linq-to-SQL performance when using Count
Sorting an ASP.NET GridView with a custom data source
The other day, I had to present some data in an ASP.NET GridView control and I had to allow sorting of some of the columns. This is easy if the data source is based on e.g. an SQL data source but not particularly easy when using a custom data source. In my case, I had… Continue reading Sorting an ASP.NET GridView with a custom data source
Basic Http authentication from .NET to PHP webservice
Today, I had a major problem that had a not-so-complex-but-rather-stupid solution so I thought it might be worth sharing since I only found online solutions that were rather old. I have remote access to a PHP webservice, written using NuSOAP. I call the methods of this webservice from a .NET application. This is no problem… Continue reading Basic Http authentication from .NET to PHP webservice