|
|
|
start date: Mon, 13 Aug 2007 20:32:01 +0200,
posted on: microsoft.public.dotnet.framework.aspnet
back
| Thread Index |
|
1
Ben ben@sdcsaz
|
|
2
Alvin Bruney [MVP] some guy without an email address
|
questions about compiling
Hi,
1) i read that the whole application is compiled at the first request of a
page.
Does 'at first request' mean for ever, or there are situations where the
compilation occurs again?
The common sense tells me: when a page is updated, but are there other
situations (e.g IIs stops or no request for a long time or ...
2) i pre-compiled an application with aspnet_compiler for deployment with
option -u (for updatable). Among all the aspx and code-behind files, they
are some inline aspx files with server code in it.
But they are not compiled. Why? Is this the normal situation?
Thanks for explanation
Ben
Date:Mon, 13 Aug 2007 20:32:01 +0200
Author:
|
Re: questions about compiling
You can incur startup costs again if the site hasn't received requests in a
specified period of time (machine config) or if the application pool
recycles or if IIS restarts etc etc.
Option 2, not really sure why this is so. I suspect it may be due to the
fact that this is a mix of server and presentation code but don't quote me
on that.
--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET - MS Press
Professional VSTO 2005 - Wrox/Wiley
OWC Black Book www.lulu.com/owc
"Ben" <ben@sdcsaz> wrote in message
news:O8Gw8gd3HHA.2064@TK2MSFTNGP03.phx.gbl...
> Hi,
>
> 1) i read that the whole application is compiled at the first request of a
> page.
> Does 'at first request' mean for ever, or there are situations where the
> compilation occurs again?
> The common sense tells me: when a page is updated, but are there other
> situations (e.g IIs stops or no request for a long time or ...
>
> 2) i pre-compiled an application with aspnet_compiler for deployment with
> option -u (for updatable). Among all the aspx and code-behind files, they
> are some inline aspx files with server code in it.
> But they are not compiled. Why? Is this the normal situation?
>
> Thanks for explanation
> Ben
>
Date:Tue, 14 Aug 2007 19:12:25 -0400
Author:
|
|
|