Blog Archives

Unit testing the IAsyncResult pattern

The IAsnycResult pattern is a way of executing asynchronous operations using a BeginOperation and an EndOperation method. You can either use a callback or a wait handle to complete an operation. Although it is a little less intuitive than the

Tagged with: , , , ,
Posted in Coding, Testing

Magically dispatching asynchronous method calls

One of the things I like less about Silverlight is the visibility of its Threading limitations code that has nothing to do with explicit threading. I think that explicitly handling the threads and everything attached is something that you should

Tagged with: , , , ,
Posted in Coding

Using the Silverlight HttpClient in WCF, and still passing cookies.

In addition to using the browser’s own HTTP stack, Silverlight 3 introduces the new HttpClient. For me, it shines mostly because of these reasons: It supports SOAP faults that are passed with an HTTP 500 status code, and does not

Tagged with: , ,
Posted in Coding