2009-02-05 自分のルートのURLを文字列で取得("~"チルダ相当) asp.net これでどうか? Uri hoge = new Uri(Request.Url, Request.ApplicationPath); Debug.WriteLine(hoge.ToString());