When Asp.net is used today, there are several issues that cannot be tolerated:
1. Each updateProgramAll of them will start the csc.exe process to compile new files. I have compiled all the DLL files. Why re-compile the files? Before the compilation is complete, each new connection starts a new process for compilation, and these processes seize resources from each other, causing congestion. Therefore, every time the program is updated, it takes several minutes to start up. I don't know why don't you let them wait for a process to be compiled and used together? It takes only a dozen seconds. After compilation, another problem may occur due to simultaneous compilation, that is, the system prompts that the DLL file cannot be found and needs to be re-compiled and re-uploaded, and clear the DLL cache.
It is said that Asp.net 2.0 already has the complete release mode compilation, which can be fully compiled locally and used directly after being uploaded. Have a chance to try it.
Another new problem was found today. After compilation, the memory usage will be doubled and will not be downgraded. The continuous increase in memory may cause the website to go down or slow the response. You must restart the IIS service to solve the problem. After the restart, another compilation ......
2. during local program writing, files uploaded by others are updated through SVN. If there are file changes in the web Project, for example, the aspx file is added or the aspx file is deleted, if the project file of the web project changes, a prompt is displayed, indicating whether to reload the project file. It seems that this is a very considerate function, but when you choose to re-load it, it will not be able to be compiled. It is a strange problem, for example, the function cannot be found, this is usually because this function is defined in another referenced project. In the past, we can see that the function is clearly in.
One sentence exists in the compiled output information. The referenced DLL cannot be copied to the bin directory because the file is being used. You have to turn off the entire project and re-open it. The process of connecting to IIS is slow.
It is said that vs2005 uses Web applications as common DLL projects to compile and compile. It no longer needs IIS support and does not know whether it is true or not.
The current project time is too short, otherwise it will take the last week to upgrade the project to 2.0. I don't know if the upgrade will become more difficult as the project grows. Wait for another half a year, and about 3.0 will be released. You may be able to upgrade to 3.0.