DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
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:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us