Frank La Vigne

Fear and Loathing in .NET

Subscription Options

Blog
Add to Google

Subscribe in Bloglines
Subscribe in NewsGator Online
Add Frank La Vigne to Newsburst from CNET News.com

Subscribe in Rojo
Podcast
Subscribe in podnova
Add Frank La Vigne to ODEO

My Links

News






Post Categories

Archives

Image Galleries

Blog Stats

Blog Roll

Favorite Sites

Gadget Blogs

Tablet PC Links

Update to My Silverlight Cross Domain Proxy Utility

My Silverlight 2 Cross Domain Web Proxy Utility had a slight problem.

It didn't always play along nicely with Silverlight.

The problem as explained in this KB article, was that the Response.End triggered a ThreadAbortException.

Oddly enough, the code worked fine through the browser.

The fix was simple: replaces the Response.End call with

HttpContext.Current.ApplicationInstance.CompleteRequest();

The code has been updated and tested.

[Download Source Code 3k]

Hat tip to Pete Brown for helping to uncover this odd bug.

posted on Tuesday, April 15, 2008 5:24 PM