ASP.Net rebuilds on each request
I have an asp.net application, installed on a 2003 server.
I have a main installation on a dir called X,开发者_开发知识库 and a test installation installed on a dir called X_test.
When I installed a new version of my code to X_TEST - that web site (the one on the test) rebuilds the dlls on each request, resulting in a very slow response time.
When i copied the bin from X to X_test - it worked ok, but when I used the new bin, I get the build on every request.
Any ideas?
At the end of it, I found out that somewhere in the our code, it writes a file to the bin directory and deletes it.
This triggers asp rebuild mechanism, and that's what caused the problem
At the end of four hour of work, we have create a new virtual directory x_test2, with a new physical location, and that resolved it.
精彩评论