Groups | Blog | Home
all groups > asp.net > february 2005 >

asp.net : difference between persistet DLL(ASP.NET Temp Files) and Bin Folde


Satish
2/7/2005 11:31:02 PM
what is the difference between persistet DLL(ASP.NET Temp Files) and one
which is IIS/Webapplication/ BIN Folder.
can anyone tell what exactly happens for the first request for the above
senario.

regards
Karl Seguin
2/8/2005 8:11:47 AM
Satish:
Simply put, files in the /bin folder are those which you precompile and
deploy to your site. They consist of all .cs/vb files, all .resx as well as
any other file you want embedded in the assembly (dll), which you can
control through VS.Net

Files in the temporary directory are compiled by a JIT (just in time)
compiler. In asp.net, they are files ending with an aspx or asax extension
(there are probably a couple more I can't think of right now).

When the first request happens, you already have all your pre-compiled dll's
in the /bin folder so nothing happens to them. However, the JIT compiler
compiles all aspx/asax files and places the resulting DLL in the temporary
folder.

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/


[quoted text, click to view]

Karl Seguin
2/8/2005 8:13:27 AM
Opps..wanted to add that in ASP.net 2.0 you'll have more control over this.
Check out
http://msdn.microsoft.com/library/en-us/dnvs05/html/migratingtoaspnet2.asp?frame=true#migratingtoaspnet2_topic17
and click on "Compilation Options"

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/


[quoted text, click to view]

bruce barker
2/8/2005 8:58:52 AM
actually asp.net copies them to the temp folder, in order to allow updating
the dll's in the bin.

-- bruce (sqlwork.com)


"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
[quoted text, click to view]
| Simply put, files in the /bin folder are those which you precompile and
| deploy to your site. They consist of all .cs/vb files, all .resx as well
as
| any other file you want embedded in the assembly (dll), which you can
| control through VS.Net
|
| Files in the temporary directory are compiled by a JIT (just in time)
| compiler. In asp.net, they are files ending with an aspx or asax
extension
| (there are probably a couple more I can't think of right now).
|
| When the first request happens, you already have all your pre-compiled
dll's
| in the /bin folder so nothing happens to them. However, the JIT compiler
| compiles all aspx/asax files and places the resulting DLL in the temporary
| folder.
|
| Karl
|
| --
| MY ASP.Net tutorials
| http://www.openmymind.net/
|
|
[quoted text, click to view]
| > what is the difference between persistet DLL(ASP.NET Temp Files) and one
| > which is IIS/Webapplication/ BIN Folder.
| > can anyone tell what exactly happens for the first request for the above
| > senario.
| >
| > regards
| > Satish
|
|

Karl Seguin
2/8/2005 3:00:32 PM
Thanks for the clarification bruce :)

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/


[quoted text, click to view]

AddThis Social Bookmark Button