阅读背景:

如何从引用的程序集访问Web.config?

来源:互联网 

I need to access a web application's web.config from a referenced assembly. I need to get the file's path or the configuration object. I can't do this using System.Reflection.Assembly.GetEntryAssembly as I do for the application's configuration of a windows exe.I need to access a web application's web.config




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: