Re: SIMPLE QUESTION
- From: "bruce barker \(sqlwork.com\)" <b_r_u_c_e_removeunderscores@xxxxxxxxxxx>
- Date: Thu, 25 May 2006 09:40:02 -0700
just like version 1.1, the bin folder is where you place dll's you want to
include with your site. In 1.1 VS built a codebehind dll in this folder. In
VS2005, asp.net compiles the codebehind file, not VS, so there is no dll in
the bin.
asp.net 2.0 (just like 1.1), compiles code to a temp folder, copies any bin
dlls to this temp folder, and runs from the temp folder. this allows code
updates. Also just like 1.1, every page is compiled to its own dll (unless
batch compiling is turned on). The difference between 1.1 and 2.0, is the
codebehind code is included in the page dll, instead of a shared codehind
dll (which pages inherited from).
asp.net 2.0 supports precompiling the site, but the dll will still be copied
and run from a temp folder.
if you have standard setup look in:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
you will find a folder per site. in the site folder, you'll find a folder
per compile, in this you'll find a folder per batch compile. in these
folders you will find all the souce files generated to build the page(s) and
the output dll's, plus copies of the bin dll's.
-- bruce (sqlwork.com)
"R.A.M." <r_ahimsa_m@xxxxxxxxxxxxxx> wrote in message
news:92mb72t9to68u2jlnt0mp5faljqfq3rmkl@xxxxxxxxxx
I have a (sample) project 01-ClientScript of the following structure:
App_Data\ (empty dir)
App_GlobalResources\Resource.resx
Bin\ (empty dir)
Default.aspx
Default.aspx.vb (contains Page_Load)
web.config
when I open it in a browser (localhost/01-ClientScript) I can see
result produced by Page_Load from Default.aspx.vb.
Could you explain me please why it works because project is not
compiled (Bin\ is empty)?!
Thanks.
/RAM/
.
- Follow-Ups:
- Re: SIMPLE QUESTION
- From: R . A . M .
- Re: SIMPLE QUESTION
- References:
- 2.0: SIMPLE QUESTION
- From: R . A . M .
- 2.0: SIMPLE QUESTION
- Prev by Date: Re: 2.0: SIMPLE QUESTION
- Next by Date: Re: Page Timeout
- Previous by thread: Re: 2.0: SIMPLE QUESTION
- Next by thread: Re: SIMPLE QUESTION
- Index(es):
Relevant Pages
|