I’m debugging som asp.net code on a asp-classic site. The layout is sporadic and chaotic – .aspx and .aspx.cs files are in the root directory of the site, some in the app-code folder, but not the relevant file).
My problem is that i need to implement the corrections to the .aspx.cs file. Replacing the file does nothing, and i thought i could just “recycle” the application pool in the IIS manager, but no cigar. The server still loads the same buggy code.
So: How do i go about clearing the auto-compiled binary for this code, and implementing the corrections?
Thanks a bunch 🙂
A full clean up for ASP.NET involves deleting all the temporary binaries
By default they are in ( depending on 32/64 bit and framework version )
C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files
I also recommend that you change the temporary folder in the machine scope web.config