Search code examples
asp.netiis-7castle-monorail

Many appdomains for a web application in under iis7


I have a monorail web application running on iis7. It appears like two concurrent requests are handled on two different appdomains! As far as I know, each application should have one appdomain and multiple httpapplications to handle requests...

Is there something I am missing? (configuration perhaps?)


Solution

  • I was writing output files to a folder in the bin directory of the web application. Since this folder is watched, it caused the application pool to recycle and that's why the second request was handled on a different (new) appdomain.

    For some reason I thought that only web.config, global.asax are watched...