I’m sorry if this has been asked – I can’t seem to find it if so.
If I have a silverlight 4 page calling a plain old asmx web service, is there a way to access the http context of the aspx page hosting my silverlight from the asmx WebMethod?
HttpContext.Current seems to relate to the call to the service (the path property is the path to the asmx file) and so HttpContext.Current.Request.QueryString (what I’m really after) is empty.
You could pass the QueryString object as a parameter to the asmx service.
from silverlight you can get the query string of the host page using the code below.
Hope this helps