473,542 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

One last question about ASP.NET 1.1 application recycling, load time and other boring stuff

Dear friends:
This is my third question on this news in three days... Sorry for this
spam behavior :-)
I've a lot of problems on "first page load" after some change on
web.config or even in the contents of bin folder...
Nathan Sokalski passed me a link to ILMerge library, I've made some
tests grouping a set of DLL's that are loaded without reflection, but there
were no improvements on load time.
I've noted that ASP.NET copies all assemblies that are on bin folder to
the Temporary ASP.NET Files, located on Framework folder under Windows
folder. I don't know why ASP.NET does that, but whatever, I think that this
behavior cannot be modified.
My question is: When using ASP.NET 1.1, is there some automatic
recycling behavior? My pages are not changed often. But we have the
impression that, once or twice in a day, the time took to load a page is
heavily increased, even if this page has no great processing on this
operation... Am I missing something? ASP.NET does this for any reason?

Thanks,

--
Ravi Wallau
no****@nospam.o rg

Feb 15 '06 #1
5 1539
Ravi,

You pointed it out yourself.

If you make a change to the web.config file, the contents of the bin
folder, or the ASPX pages in your application, ASP.NET will recylce your
app, causing a new application domain to be created and runing the app in
that, recompiling the ASPX files (if necessary, I believe).

This is the delay that you are seeing on the first page request. There
is no way around this behavior, as ASP.NET does this to ensure the integrity
of the app.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ravi Ambros Wallau" <no****@nospam. com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Dear friends:
This is my third question on this news in three days... Sorry for this
spam behavior :-)
I've a lot of problems on "first page load" after some change on
web.config or even in the contents of bin folder...
Nathan Sokalski passed me a link to ILMerge library, I've made some
tests grouping a set of DLL's that are loaded without reflection, but
there were no improvements on load time.
I've noted that ASP.NET copies all assemblies that are on bin folder to
the Temporary ASP.NET Files, located on Framework folder under Windows
folder. I don't know why ASP.NET does that, but whatever, I think that
this behavior cannot be modified.
My question is: When using ASP.NET 1.1, is there some automatic
recycling behavior? My pages are not changed often. But we have the
impression that, once or twice in a day, the time took to load a page is
heavily increased, even if this page has no great processing on this
operation... Am I missing something? ASP.NET does this for any reason?

Thanks,

--
Ravi Wallau
no****@nospam.o rg

Feb 15 '06 #2
Hi, Nicholas,
I'm aware of such behavior. Clarifying, may the application be recycled
in Windows 2000 server without any changes, and without any IIS restaring?
Thanks,
Ravi.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:ep******** *******@TK2MSFT NGP15.phx.gbl.. .
Ravi,

You pointed it out yourself.

If you make a change to the web.config file, the contents of the bin
folder, or the ASPX pages in your application, ASP.NET will recylce your
app, causing a new application domain to be created and runing the app in
that, recompiling the ASPX files (if necessary, I believe).

This is the delay that you are seeing on the first page request. There
is no way around this behavior, as ASP.NET does this to ensure the
integrity of the app.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ravi Ambros Wallau" <no****@nospam. com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Dear friends:
This is my third question on this news in three days... Sorry for this
spam behavior :-)
I've a lot of problems on "first page load" after some change on
web.config or even in the contents of bin folder...
Nathan Sokalski passed me a link to ILMerge library, I've made some
tests grouping a set of DLL's that are loaded without reflection, but
there were no improvements on load time.
I've noted that ASP.NET copies all assemblies that are on bin folder
to the Temporary ASP.NET Files, located on Framework folder under Windows
folder. I don't know why ASP.NET does that, but whatever, I think that
this behavior cannot be modified.
My question is: When using ASP.NET 1.1, is there some automatic
recycling behavior? My pages are not changed often. But we have the
impression that, once or twice in a day, the time took to load a page is
heavily increased, even if this page has no great processing on this
operation... Am I missing something? ASP.NET does this for any reason?

Thanks,

--
Ravi Wallau
no****@nospam.o rg


Feb 15 '06 #3
Ravi,

Generally, no, it shouldn't. The only things I can think of would be is
that the memory consumption grew too large and as a result, and ASP.NET
recycled the app domain as a result.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m
"Ravi Ambros Wallau" <no****@nospam. com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Hi, Nicholas,
I'm aware of such behavior. Clarifying, may the application be recycled
in Windows 2000 server without any changes, and without any IIS restaring?
Thanks,
Ravi.

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote
in message news:ep******** *******@TK2MSFT NGP15.phx.gbl.. .
Ravi,

You pointed it out yourself.

If you make a change to the web.config file, the contents of the bin
folder, or the ASPX pages in your application, ASP.NET will recylce your
app, causing a new application domain to be created and runing the app in
that, recompiling the ASPX files (if necessary, I believe).

This is the delay that you are seeing on the first page request.
There is no way around this behavior, as ASP.NET does this to ensure the
integrity of the app.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Ravi Ambros Wallau" <no****@nospam. com> wrote in message
news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
Dear friends:
This is my third question on this news in three days... Sorry for
this spam behavior :-)
I've a lot of problems on "first page load" after some change on
web.config or even in the contents of bin folder...
Nathan Sokalski passed me a link to ILMerge library, I've made some
tests grouping a set of DLL's that are loaded without reflection, but
there were no improvements on load time.
I've noted that ASP.NET copies all assemblies that are on bin folder
to the Temporary ASP.NET Files, located on Framework folder under
Windows folder. I don't know why ASP.NET does that, but whatever, I
think that this behavior cannot be modified.
My question is: When using ASP.NET 1.1, is there some automatic
recycling behavior? My pages are not changed often. But we have the
impression that, once or twice in a day, the time took to load a page is
heavily increased, even if this page has no great processing on this
operation... Am I missing something? ASP.NET does this for any reason?

Thanks,

--
Ravi Wallau
no****@nospam.o rg



Feb 15 '06 #4
Hi,

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c om> wrote in
message news:ep******** *******@TK2MSFT NGP15.phx.gbl.. .
Ravi,

You pointed it out yourself.

If you make a change to the web.config file, the contents of the bin
folder, or the ASPX pages in your application,

If you make a change in the aspx file it will not recicle the app. this
pages are dynamically parsed.
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
Feb 15 '06 #5
Nicholas Paldino [.NET/C# MVP] wrote:
Ravi,

Generally, no, it shouldn't. The only things I can think of would be is
that the memory consumption grew too large and as a result, and ASP.NET
recycled the app domain as a result.

I remember someone a *long* time ago made the comment about virus
checkers "touching" the files and causing the app to be recycled.

Just a lead, anyway.

Scott
Feb 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
5633
by: nospam | last post by:
Reasons for a 3-tier achitecture for the WEB? (NOTE: I said, WEB, NOT WINDOWS. DON'T shoot your mouth off if you don't understand the difference.) I hear only one reason and that's to switch a database from SQL Server to Oracle or DB2 or vice versa... and that's it.... And a lot of these enterprises don't need it as they already know what...
20
3295
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to speed. I like books with practical exercises, and also with test questions (like cert books) *2*
6
2929
by: Marios | last post by:
Hi, I want to have in a application i have created the feature of application recycling, similar to the aspnet_wp, and the new COM+ service. The reason i want to do this is because of being able to set limits to the memory usage my app can consume, and recycling it when it exceeds this limit. What I have done so far, is to create an...
3
4290
by: Grinninger | last post by:
Hello, I am using ASP.NET, C# under W2K. I try to keep some important information in application- and session-state Objects. With the recycling of the ASPNet_WP.EXE my application- and session-state Objects get lost. Therfore I have some questions: -) Is it usual that the ASPNet_WP.EXE becomes recycled twice a day? -) What is the...
9
2442
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example at http://www.lamartin.com/dotnet/sessiontestset.aspx, were I set Session, Application and Cache variables on the first page and then on the second...
2
2085
by: Lars Netzel | last post by:
Hi We have an ASP.NET application running on a Live server and we have had some problems with the Application pool beeing recycled due to heavy load on the server. The load is really not that bad and this should nto occur. The application is using a lot of Session varaibles but I have no idea if this is a problem. I need the session...
6
1476
by: Chase | last post by:
I'm pretty new to asp.net and am having problems with my application timing out. I've written an application that loops through all of the information on an excel spreadsheet and does certain things with it, like creating and configuring WSS sites. My application runs fine for approximately 25 minutes, then I get the 'Page cannot be...
11
1392
by: Ravi Ambros Wallau | last post by:
Dear friends: This is my third question on this news in three days... Sorry for this spam behavior :-) I've a lot of problems on "first page load" after some change on web.config or even in the contents of bin folder... Nathan Sokalski passed me a link to ILMerge library, I've made some tests grouping a set of DLL's that are loaded without...
6
4436
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2 seconds: <%@ Page language="c#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.IO" %>
0
7392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7571
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7721
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7324
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5867
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5246
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3380
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
620
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.