Configuring Unity using a file other than web.config or app.config?
I understand how to configure MS Unity 2.0 using the app.config or web.config files. I want to instantiate the Unity Container and then somehow pass it the configuration file to use. The configuration file needs to be unrelated to the app.config or web.config (i.e. not a configuration section with a ConfigSource). 开发者_开发知识库Does anyone know if this can be done?
MSDN is your friend: Loading the Configuration from Alternative Files
精彩评论