Global.cs 获取网址
void Application_Start(object sender, EventArgs e) { string url = HttpContext.Current.Request.ServerVariables["Http_Host"].ToString(); }