I want to get the current URL into a string that I can use for e.g. share functionality later.
String strPathAndQuery = HttpContext.Current.Request.Url.PathAndQuery;
I get the error:
The name
HttpContextdoes not exist in the current context.
Is there another way?
 
     
     
     
    