Appfabric WF4-WCF services, how to retrive current url in codeactivity without httpcontext?

Posted by tartafe on Stack Overflow See other posts from Stack Overflow or by tartafe
Published on 2010-05-04T12:05:10Z Indexed on 2010/05/04 12:48 UTC
Read the original article Hit count: 333

Hi, i have developed a wf-wcf services with a code activity and in it i want to retrive the current url of the service. If i disabling the persistence feature of appfabric i can retrive the url using

HttpContext.Current.Request.Url.ToString()

If the persistence feature is enabled the httpcontext is null.

There is a different way to retrive the url of th wcf that host my code activity? Thanks in advace

© Stack Overflow or respective owner

Related posts about wf4

Related posts about wcf