ASP.NET Temporary Files

What about cleaning the ASP.NET Temporary Files folders?

ASP.NET doesn't cleanup itself. In a recommendation I've read (i believe on MS KB) it's recommended to restart IIS - however I never restarted IIS for cleanup up these folders.

I had the problem, that my provider did setup a quota for the folder or whatever - and my app stopped because of 'not enough disk space'. Also when developing, ASP.NET recompiles the app and sometimes gets binding exceptions (leading to false errors).

Folders:

"%WINDIR%\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files"

"%WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files"

"%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files"

"%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files"

Note also, that .NET 4.5 is an in-place update and has the same folders and versions:

http://www.west-wind.com/weblog/posts/2012/Mar/13/NET-45-is-an-inplace-replacement-for-NET-40