Silverlight:如何在程序中获取网站的根目录

如果需要在Silverlight程序中获取当前网站的根目录,不能使用HttpContext.Current这样的方式,而需要用

@HostingEnvironment.ApplicationPhysicalPath

posted @ 2010-01-21 15:13  陈希章  阅读(2686)  评论(3)    收藏  举报