Geeks With Blogs

News My Blog has been MOVED to
Michael Freidgeim's OLD Blog My Blog has been MOVED to

I wanted to ResolveUrl() from WCF service and found .
However the function assumes that the call is synchronous, in asynchronous call (e.g called from TPL task) HttpContext.Current==null.
I had to split my asynchronous method into two-a long asynchronous one, invoked as task and generating relative URL and a post-task, that is calling wwWebUtils.ResolveServerUrl(relativeUrL)

The  article suggests to use
but i expect, it wouldn’t work from asynchronous thread as well.
Posted on Saturday, July 7, 2012 9:51 PM Web Services/WCF | Back to top

Comments on this post: ResolveUrl() from WCF service

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © Michael Freidgeim | Powered by: