如果需要在Silverlight程序中获取当前网站的根目录,不能使用HttpContext.Current这样的方式,而需要用 @HostingEnvironment.ApplicationPhysicalPath 相关文章: 2022-12-23 2022-12-23 2022-12-23 2021-06-09 2021-11-23 2022-01-24