Reputation: 1
I have an ASP.NET site (.NET 4.0) with ~1200 dlls files Every time I change dll in bin folder (add, remove or replace), my site became to very slow and need to wait about 10 minutes to connect again, sometime need to reset IIS
Is there any way to settings ASP.NET or IIS just load new dll, do not reload all dll?
Thank all!
Upvotes: 0
Views: 1045
Reputation: 101
ASP.NET dynamic compilation enables you to modify your source code without having to explicitly compile your code before you deploy your Web application. If you modify a source file, ASP.NET automatically recompiles the file and updates all linked resources. By default, ASP.NET Web pages and code files are compiled dynamically when users first request a resource, such as an ASP.NET page (.aspx file), from a Web site. After pages and code files have been compiled the first time, the compiled resources are cached, so that subsequent requests to the same page are extremely efficient. You can retrieve more information about ASP.NET dynamic compilation: http://msdn.microsoft.com/en-us/library/ms366723(v=VS.100).aspx
Upvotes: 0