string url = HttpContext.Current.Request.Url.Scheme + "://" + HttpContext.Current.Request.Url.Authority + Request.ApplicationPath + "/PDF/MyFile.pdf";
Above string will generate a URL like below.
http://localhost:8630/PDFGenerator/PDF/MyFile.pdf
Thursday, March 28, 2013
Subscribe to:
Post Comments (Atom)
No comments:
Write comments