SaltProgrammer
SaltProgrammer

Reputation: 1055

Are Dynamically Compiled Assemblies for .ASPX files in Server Memory?

I've read that dynamically compiled assemblies and other resources for .aspx pages are stored in:

C:\WINDOWS\Microsoft.NET\Framework64\[VERSION]\Temporary ASP.NET Files

or 

C:\WINDOWS\Microsoft.NET\Framework\[VERSION]\Temporary ASP.NET Files

I am unable to find any files there other than one hash directory and 1 .web file. I can view the pages, however. When I explicitly dump the files to a directory via the web.config:

<compilation debug="true" targetFramework="4.0" tempDirectory="c:\temp\" />

only then do I see the files (.dll's, .cmdline's, .compiled, etc).

So my question is, where are the files if I don't have that line in my web.config? Are they stored in memory after they've been dynamically compiled or compiled before deploying?

Thanks!

Upvotes: 2

Views: 313

Answers (1)

Nastya Kholodova
Nastya Kholodova

Reputation: 1321

Path to one of generated assemblies can be like that C:\Users\{User_Name}\AppData\Local\Temp\Temporary ASP.NET Files\root\5fba2019\f07d83d6\assembly\dl3\58fc15e5\135e9dc1_40b4cc01\WebApplication1.DLL

So, all autogenerated files storing here C:\Users\{User_Name}\AppData\Local\Temp\Temporary ASP.NET Files\

Upvotes: 1

Related Questions