Global.asax取绝对路径的方法

  在Global.asax文件中取绝对路径的方法:

  

复制代码 代码如下:

  string absolutelyPath =AppDomain.CurrentDomain.BaseDirectory;