Online Since 1995

About Frank

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.

Add a Comment