I have an ASP.NET application with Web.appSettings.config. Exactly in web.config I have included this line:
<appSettings configSource="Web.appSettings.config" />
and in web.appSettings.config
<?xml version="1.0"?>
<appSettings>
<add key="foo" value="foo value" />
</appSettings>
I have tested it myself. If I change something web.config the IIS App pool recycles. But seems that if I change something in web.appSettings.config it doesn't recycle.
Changes in web.appSettings.config... are supposed to trigger an Application Pool recycle?
Is there any official Microsoft link that clarifies it?
CLARIFICATION: My tests shows that changes in web.appSettings.config shows that no app pool recycle is triggered. My doubt is about expected behavior. Is it normal that app pool doesn't recycle or is there something wrong with my IIS..?
No, it doesn't.
But instead of relying an answer from here, I would test it myself.
For example; when the application pool recycles, it means your application will restart. Put a breakpoint in your Application_Start event in global.asax. Update web.config, make a request to your page and see if it hits. Then update web.appsettings.config file and try the same. In the second case the breakpoint should not hit.
You can also understand it by logging the events (or probably checking existing IIS logs etc.) as well.