Why an ASP.NET web site gets recompiled when renaming or deleting a folder inside
        Posted  
        
            by amartynov
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by amartynov
        
        
        
        Published on 2010-04-23T14:46:31Z
        Indexed on 
            2010/04/23
            15:03 UTC
        
        
        Read the original article
        Hit count: 352
        
Hi everybody,
I develop a simple file manager inside an ASP.NET Web site (not web application).
I notice that every time I rename or delete a folder, the site gets recompiled - i.e. the very next web request after delete or rename operation takes considerably much time to execute.
It's only true for folders, not for files. Why does this occur?
P.S. I use WebDev server (Cassini), haven't tested in on IIS yet.
© Stack Overflow or respective owner