代码之家  ›  专栏  ›  技术社区  ›  Daniel Brink

静态WebMethod中的ResolveURL

  •  4
  • Daniel Brink  · 技术社区  · 14 年前

    如何将类似“./../images/test.png”的URL解析为 http://yoursite.com/images/test.png “在静态ASP.NET Web方法中?

    2 回复  |  直到 14 年前
        1
  •  7
  •   Daniel Dyson    14 年前

    以下是Rick Strahl的一篇博客,可能会有所帮助: http://www.west-wind.com/weblog/posts/154812.aspx

        2
  •  0
  •   Sergej Andrejev    14 年前

    拜访 HttpContext.Current.Request