简体   繁体   中英

ASP.NET become very slow when add or remove dll in bin folder

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!

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM