Jump to content

Provide option for clearing Temporary ASP.NET Files


Someone1234567

Recommended Posts

I would appreciate an option for clearing the Temporary ASP.NET Files located at:

 

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files

...etc.

Generally:

C:\WINDOWS\Microsoft.NET\Framework*\v*\Temporary ASP.NET Files

 

Related info:

http://stackoverflow.com/questions/16137457/asp-net-temporary-files-cleanup

https://sysadminspot.com/server-administration/powershell-cleanup-temp-asp-net-files/

 

It stores A LOT of data there when you are using IIS...

 

Also, in the user's documents folder, IIS Express leaves an "IIS Express" folder that gets filled with MUCH stuff.

An option for that might be nice too.

:)

Link to comment
Share on other sites

this temp-folders are not on my pc...

 

w8.1 64bit

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

Link to comment
Share on other sites

Well, I think the only way to get those folders and content inside them is to install and use IIS (which is shipped with Windows, but is not installed by default - you can install it from "turn on and off Windows features" program).

 

I see that there is already an option for cleaning IIS log files in CCleaner, so this may make much more sense to clean, since those folders can gather lots of stuff (e.g. ~500MB) depending on the sites you host (e.g. for development purposes) and, from my experience, IIS never bothers to clean them up.

Link to comment
Share on other sites

add it with "including" to your ccleaner...?

Versions of CCleaner Cloud; Introduction Ccleaner Cloud;

Ccleaner-->System-Requirements; Ccleaner FAQ´s; Ccleaner builds; Scheduling Ccleaner Free

 

Es ist möglich, keine Fehler zu machen und dennoch zu verlieren. Das ist kein Zeichen von Schwäche. Das ist das Leben -> "Picard"

Link to comment
Share on other sites

What do you mean exactly?

I did not understand. :(

You mean this should be a feature for the paid version of CCleaner and not for the free?

 

EDIT: Oh... I think I got it:

If you mean with an optional checkbox (like in the "IIS log files" option that CCleaner has), then yes.

That's what I meant. :)

Link to comment
Share on other sites

  • Moderators

What he's referring to is this in CCleaner:

Options > Include > Add

 

Edit:

You're more likely to get these cleaners added into CCleaner via the community winapp2.ini file ages before CCleaner ever officially adds them in. You could just make a post in there that points to this topic of yours requesting someone add it into winapp2.ini if you don't feel comfortable coding the cleaner for it.

 

I should note that you may be interested in the winapp2.ini file since it also cleans these for .Net Framework:
[.NET Assembly Temps*]
[.NET Framework Isolated Storage*]
[.NET Framework Logs*]
[.NET Framework SQM*]
[.NET Framework Temp*]

 

Edit 2:

I just threw this together, it can be a template to get you started with newer versions of .Net Framework since that temporary folder which is empty for me only exists in one place on my old XP system.

[Temporary ASP.NET Files*]
LangSecRef=3025
Default=False
Detect=HKLM\Software\Microsoft\NET Framework Setup
FileKey1=%windir%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files|*.*|RECURSE
Edited by Andavari
Link to comment
Share on other sites

 

What he's referring to is this in CCleaner:

Options > Include > Add

Aha. I should have thought of that...

I knew this existed, just I thought it might be better to have it built into CCleaner.

 

 

You're more likely to get these cleaners added into CCleaner via the community winapp2.ini file ages before CCleaner ever officially adds them in.

I now see that winapp.ini already has these folders included:

[ASP.NET*]
LangSecRef=3025
Detect=HKCU\Software\MicroSoft\ASP.NET
Default=False
FileKey1=%WinDir%\Microsoft.net\Framework\*\Temporary ASP.NET Files|*.*|RECURSE
FileKey2=%WinDir%\Microsoft.net\Framework64\*\Temporary ASP.NET Files|*.*|RECURSE
[IISExpress Logs*]
LangSecRef=3022
DetectFile=%Documents%\IISExpress
Default=False
FileKey1=%Documents%\IISExpress\Logs|*.*
FileKey2=%Documents%\IISExpress\TraceLogFiles|*.*|RECURSE 

That's interesting. I will experiment a little bit with this add-on...

 

Thanks! :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.