Scenario:
Website Hosted In windows server 2016 using .Net 4.7
Symptoms:
When Web run a period.. masterpage.master or some page missing,
then *.dll.delete file is generated In ASP.NET dynamic compilation path
(Temporary ASP.NET Files\..\assembly\...)
"*.dll.delete" file that prevents web applications from running
Mitigate:
when occurring ,change web.config tempDirectory path to new path
Solution:
upgrade Web Server .Net Framework to 4.8 (not target framework of project )
ref:
https://techcommunity.microsoft.com/t5/iis-support-blog/web-app-down-if-there-is-a-private-bytes-limit-of-the-app-pool/ba-p/303728
https://techcommunity.microsoft.com/t5/iis-support-blog/the-file-has-not-been-pre-compiled-error-and-solution/ba-p/945340
https://github.com/microsoft/dotnet/blob/master/releases/net48/dotnet48-changes.md
https://techcommunity.microsoft.com/t5/iis-support-blog/the-file-has-not-been-pre-compiled-error-and-solution/ba-p/945340
https://github.com/microsoft/dotnet/blob/master/releases/net48/dotnet48-changes.md