在Global.asax文件中取绝对路径的方法: 实现代码如下: string absolutelyPath =AppDomain.CurrentDomain.BaseDirectory; 以上就是【Global.asax取绝对路径的方法】的全部内容了,欢迎留言评论进行交流!