AppDomain Restart

Discussion in 'Windows / IIS' started by desbhoy, Oct 25, 2011.

  1. My app is a gallery, it seems that every time a user creates a new album - which creates a new directory on the server, the AppDomain recycles. I believe that in IIS6 it used to check for changed web.config, changed files in bin etc, but now it seems in addition to check for any new folder anywhere.

    I don't really want to turn off this recycling completely; but would like to know:
    is there somewhere I can put my user data that is ignored by the checking
    or is there a way of turning off the checking on specific folders

    I did try putting all the user data under App_Data; but then I can't serve simple jpgs by embedding the path into the html as it gives a 403 forbidden error.

    Can someone either give me an easy answer :) or point me at an IIS7 architecture and best practices document to tell me how I should really structure things (things being dynamic user data)?
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

Share This Page