Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eliminating temporary ASP.Net Files

How do you prevent ASP.NET from creating too many temporary files? My website creates gigabytes of temporary files, and that overflows the main partition on the server. How do I prevent this from happening?

like image 503
gersh Avatar asked Feb 25 '09 16:02

gersh


1 Answers

Where are these temp files beeing generated?

If it's in the "Temporary ASP.NET Files" folder, it's a result of your application beeing recompiled. Checkout MSDN for more information on dynamic compilation. One possible solution could be to relocate the temp directory.

You could try pre-compiling your site to avoid the generation of temp-files.

like image 135
PHeiberg Avatar answered Sep 28 '22 08:09

PHeiberg