Search code examples
asp.netvirtualpathprovider

how to get query string with VirtualPathProvider


I am usnig a VirtualPathProvider, but with in the function

public bool IsPathVirtual(string virtualPath)
    {}

virtualPath give just the URL with out query string my question is how can i get query string.


Solution

  • after searching the solution as easy as this

    HttpContext.Current.Request.Url.ToString();