怎么获取当前站点的名称
譬如当前站点“http//www.sina.com.cn/aaa "
我想获取 aaa
aaa是虚拟目录
我需要在application_start 事件中获得
------解决方案--------------------可以这样
HttpRequest Request = HttpContext.Current.Request;
System.IO.StreamWriter sw = new System.IO.StreamWriter(@ "C:\Inetpub\wwwroot\aaa.txt ");
sw.Write(Request.ApplicationPath.Substring(1));
sw.Close();