开发者

ASP.Net rebuilds on each request

开发者 https://www.devze.com 2022-12-09 19:48 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消