Re: ASP.NET Web Application And Compilation [Question]
From: Tiraman (tiraman_at_netvision.net.il)
Date: 04/28/04
- Next message: Suresh: "RE: ToolTip in a bound datagrid"
- Previous message: Kevin Spencer: "Re: Operation must use an updateable query."
- In reply to: Steven Cheng[MSFT]: "RE: ASP.NET Web Application And Compilation [Question]"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Apr 2004 21:32:48 +0200
10x :-)
"Steven Cheng[MSFT]" <v-schang@online.microsoft.com> wrote in message
news:dFgRSjMLEHA.1460@cpmsftngxa10.phx.gbl...
> Hi Tiraman,
>
> As for the complie for the asp.net web project(web application), here are
> some of my understanding:
>
> In fact, when we said that we need to compile a web application, that
means
> we'd compile the web project before deploy it to the server,yes? This
> compile operation will build all the webform pages' codebehind page
classes
> or any other utility classes into the web application's main assembly(dll
> file) which will be deployed to the web application's sub "bin" folder.
> Then, when deploying the web project, we needn't copy the code source
> files(.cs or .vb) to the deployment server) since all the classes has been
> build into the main assembly(in "bin" folder).
>
> At runtime, when a certain web page is requested, there occurs another
> compilation------runtime compiling-------- this will generate the actual
> class of the webpage(not the codebehind class in the assembly), the actual
> class will be generated from the aspx source file and is derived from the
> codebehind class contained in the assembly. And the runtime compiled page
> classes is located in the ASP.NET's temporary folder. This runtime
> compiliation can be set in the web.config via the <compilation> Element,
>
> #<compilation> Element
>
http://msdn.microsoft.com/library/en-us/cpgenref/html/gngrfcompilationsectio
> n.asp?frame=true
>
> Then when the actual page class is generated, the ASP.NET runtiem will use
> its instance to process the coming request for the certain page. For
> detailed description, please reference the following links in MSDN:
>
> #Creating and Managing Web Forms Pages
>
http://msdn.microsoft.com/library/en-us/vbcon/html/vboriCreatingEditingWebFo
> rms.asp?frame=true
>
> #Web Forms Code Model
>
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconwebformscodemodel.as
> p?frame=true
>
> Hope helps. Thanks.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Support
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
> Get Preview at ASP.NET whidbey
> http://msdn.microsoft.com/asp.net/whidbey/default.aspx
>
>
>
>
- Next message: Suresh: "RE: ToolTip in a bound datagrid"
- Previous message: Kevin Spencer: "Re: Operation must use an updateable query."
- In reply to: Steven Cheng[MSFT]: "RE: ASP.NET Web Application And Compilation [Question]"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|