Hi,
I'm having the following "problem". I created a application context file for spring.net. The configuration looks like this:
<spring>
<context>
<resource uri="config://spring/objects"/>
</context>
<objects configSource="SpringObjects.config" />
</spring>
I was told that if you change something to the application context you don't need to recompile your application to see the changes.
How ever if I change something to the configuration file. No changes are seen. It is still the original data that is visible.
I call the application context like this:
IApplicationContext ctx = ContextRegistry.GetContext();
ManagementConfigurator configurator = (ManagementConfigurator)ctx.GetObject("ManagementConfigurator");
Sometimes it takes a while for the changes to be visible (even after recompiling the app).
Regards, SD
EDIT: I just found out that you have to restart your application pool. I'll just rephrase my question then: "Can you reload the application context within you application?" Without having to restart the application pool.