W
wwwmike
I have an asp.net 2.0 application where I move about 200,000 text files
daily in and out.
When using VS 2005 to debug my application everything works find if
only a few files are in the folder. (The folder is locaed within the
project file). Yesterday I did a stress test were I placed 200,000
files into this folder. As a result I took me about 15 mintues to start
VS 2005 and I was not able to start debugging since the asp.net
compiler somehow kills itself.
I tried to exclude the folder from the project ,like in VS2003,but this
function is not available and probably did not the trick.
Then I moved all files into the app_data folder and everything worked
fine. Unfortunatelly it takes now ages when I try to use the SEARCH
function (over the entire project)
Questions:
1) If the data files are placed directly into the project ( not in the
app_data folder) and new files are always added and deleted, does
asp.net recompile these text files. My asp.worker process is constantly
reccycling (60 times a day).
2) Is the app_data folder the right place to move all these files
(shared hosting)
3) Would it be better if I move out the files of the root directory
(would have to ask my provider to set the asp.net access rights)?
Thanks for helping
Michael
daily in and out.
When using VS 2005 to debug my application everything works find if
only a few files are in the folder. (The folder is locaed within the
project file). Yesterday I did a stress test were I placed 200,000
files into this folder. As a result I took me about 15 mintues to start
VS 2005 and I was not able to start debugging since the asp.net
compiler somehow kills itself.
I tried to exclude the folder from the project ,like in VS2003,but this
function is not available and probably did not the trick.
Then I moved all files into the app_data folder and everything worked
fine. Unfortunatelly it takes now ages when I try to use the SEARCH
function (over the entire project)
Questions:
1) If the data files are placed directly into the project ( not in the
app_data folder) and new files are always added and deleted, does
asp.net recompile these text files. My asp.worker process is constantly
reccycling (60 times a day).
2) Is the app_data folder the right place to move all these files
(shared hosting)
3) Would it be better if I move out the files of the root directory
(would have to ask my provider to set the asp.net access rights)?
Thanks for helping
Michael