As .Net calls its temporary folder inside C: \ Windows \ Microsoft.NET \ Framework \ v {version} \ Temporary ASP.NET Files \ root

I have several sites on my IIS machine. Suppose WebsiteA, WebsiteBand WebsiteC.

Inside the .Nettemp folder

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\{folderName}

each of the 3 sites will have its own folder with some random name.

For instance:

  • WebsiteAThe folder with the name is used 5a3e1z1j. This folder will have the following path:

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

  • WebsiteBThe folder with the name is used b51o8881. This folder will have the following path:

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

  • WebsiteCThe folder with the name is used ad4966a9. This folder will have the following path:

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

How to find out which website is using which folder? Therefore, while the process of this website is still running, it will not allow me to delete the folder. It will only delete the folder if I kill the process / stop the application pool or IIS.

Then I did some testing, what if I delete the folder (of course, until the process is running), what will happen to the site.

, , .

, - , . .

: " .Net .Net- , - ? - -, ?"

, , - , , -. .Net temp. , -.

- , .

+1

Source: https://habr.com/ru/post/1546791/


All Articles