Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where to find info on how ASP.NET works

10 views
Skip to first unread message

mark bosley

unread,
Oct 21, 2002, 7:25:37 PM10/21/02
to
curious to note that if i use code behind and have my dll in the bin folder
that ASP.NET will copy that same dll over to a folder under Temporary
ASP.NET Files and run from there.

also if i don't use codebehind that it will create that dll and put it in
folder under Temporary ASP.NET Files.

just like to get more info on how and why ASP.NET workjs the way it does.


Scott M.

unread,
Oct 21, 2002, 10:19:53 PM10/21/02
to
When the first user to access a page make his/her request, your .aspx page
will inherit the class defined in its code-behind page. This causes a new
class to be created. This new class is written into the temporary .dll that
is being placed in the ASP.NET temp folder. It may have the same name as
your project (assembly) .dll, but its not actually the same code within it.

The reason for the new file is so that you can replace the one in the bin
folder without taking your web server off-line. You can remove the .dll in
the bin folder and replace it with a new version of itself while users are
using your site! After replacement of the old version of the .dll, the next
user to request the page would cause a new version of a temporary .dll to be
created in the temp folder.


"mark bosley" <mbo...@paymentresource.com> wrote in message
news:usiM7jVeCHA.860@tkmsftngp12...

0 new messages