1、网站请求协议:http
HttpContext.Current.Request.Url.Scheme;
2、网站域名:localhost
HttpContext.Current.Request.Url.Authority;
3、网站虚拟目录:/
HttpContext.Current.Request.ApplicationPath;