Hi all,
I put a small site together recently using asp.net - having attended a MS
..Net course a little while back we were told that the first time a .net
application is run it'll take a little longer than usual - which I have
noticed to be the case - thats fine - after that it always seems as I'd
expect - however, whilst playing recently I noticed that if I browsed to the
site for the first time the following day it would also take a little longer
than you'd expect - no where near as long as the first time since being
built, but still a few seconds....it seems now that it doesn't just have to
be the following day, indeed a return within an hour or so would give the
same results.
I mentioned this in passing to a colleague who suggested that it would be no
longer stored in the Global Assembly Cache, if this is the case, what can I
do to make this 'not overly popular' website load quickly each time...my
concern is that until the clients business grows their website may not
indeed be that popular, thus it could well be just them popping by to have a
look at it (as we all do) - if so - each time they visit it'll seem unfairly
slow - my codes not that bad! :o)
Any help or information regarding this would be appreciated,
Kind regards
Rob 9 1129
IMO rather in relation with starting the application. You could see if you
does elengthy things when starting or to change the session timeout to try
to run abit longer...
Patrice
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> a écrit dans le message de
news:7_*******************@news-text.cableinet.net... Hi all,
I put a small site together recently using asp.net - having attended a MS .Net course a little while back we were told that the first time a .net application is run it'll take a little longer than usual - which I have noticed to be the case - thats fine - after that it always seems as I'd expect - however, whilst playing recently I noticed that if I browsed to
the site for the first time the following day it would also take a little
longer than you'd expect - no where near as long as the first time since being built, but still a few seconds....it seems now that it doesn't just have
to be the following day, indeed a return within an hour or so would give the same results.
I mentioned this in passing to a colleague who suggested that it would be
no longer stored in the Global Assembly Cache, if this is the case, what can
I do to make this 'not overly popular' website load quickly each time...my concern is that until the clients business grows their website may not indeed be that popular, thus it could well be just them popping by to have
a look at it (as we all do) - if so - each time they visit it'll seem
unfairly slow - my codes not that bad! :o)
Any help or information regarding this would be appreciated,
Kind regards
Rob
The issue is that asp.net apps shut down after being idle for some time.
When a request comes in, the app restarts - hence the delay. The idle
timeout can be set in machine.config.
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message
news:7_*******************@news-text.cableinet.net... Hi all,
I put a small site together recently using asp.net - having attended a MS .Net course a little while back we were told that the first time a .net application is run it'll take a little longer than usual - which I have noticed to be the case - thats fine - after that it always seems as I'd expect - however, whilst playing recently I noticed that if I browsed to
the site for the first time the following day it would also take a little
longer than you'd expect - no where near as long as the first time since being built, but still a few seconds....it seems now that it doesn't just have
to be the following day, indeed a return within an hour or so would give the same results.
I mentioned this in passing to a colleague who suggested that it would be
no longer stored in the Global Assembly Cache, if this is the case, what can
I do to make this 'not overly popular' website load quickly each time...my concern is that until the clients business grows their website may not indeed be that popular, thus it could well be just them popping by to have
a look at it (as we all do) - if so - each time they visit it'll seem
unfairly slow - my codes not that bad! :o)
Any help or information regarding this would be appreciated,
Kind regards
Rob
Thanks both of you for your replies, I assume you are both talking about the
session timeout at this point...
If so...its currently set to 20 minutes, I had *assumed* that this was only
relevant when setting session variables though - something that I do not use
in this application.
I have about 5 user controls which build up the page.
About 10 functions in total perhaps, one works out what page the user is on,
one display and image based on that, one changes hex to dec for colour codes
(see my other thread entitled - Setting table cell colors) - the others are
primarily for building tables dynamically.
Some add rows, some add cells...thats about it....
hmm....still a bit unsure what might be causing it now....its currently
still in 'debug' mode - I've not done a 'release' mode version yet - could
that be anything to do with it?
Thanks again for any help.
Regards
Rob
when you first hit an asp.net site, loads a new appdomain, then loads the
asp.net dll for that page (one per page). if the dll does not exist it
compiles it first.
if site has had no activity for a given amount of time (idle - see
machine.config), the app domain is unloaded, and the next hit causes the
above to repeat.
-- bruce (sqlwork.com)
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message
news:_n*******************@news-text.cableinet.net... Thanks both of you for your replies, I assume you are both talking about
the session timeout at this point...
If so...its currently set to 20 minutes, I had *assumed* that this was
only relevant when setting session variables though - something that I do not
use in this application.
I have about 5 user controls which build up the page.
About 10 functions in total perhaps, one works out what page the user is
on, one display and image based on that, one changes hex to dec for colour
codes (see my other thread entitled - Setting table cell colors) - the others
are primarily for building tables dynamically.
Some add rows, some add cells...thats about it....
hmm....still a bit unsure what might be causing it now....its currently still in 'debug' mode - I've not done a 'release' mode version yet - could that be anything to do with it?
Thanks again for any help.
Regards
Rob
AFAIK, in ASP classic, the application shutdown when the last session
terminates (and the last session terminates once the timeout is reached
without any request from the user). Check also Marina adivces as ASP.NET
could perhaps provides another setting that make the application still waits
an aditional amount of time before shuting down...
Note also that the application is also restarted when the application is
updated...
I'm not sure how the user contrrols are related to this. Are you talking
about the same problm ? If a separate problem you may want to open another
discussion thread...
Patrice
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> a écrit dans le message de
news:_n*******************@news-text.cableinet.net... Thanks both of you for your replies, I assume you are both talking about
the session timeout at this point...
If so...its currently set to 20 minutes, I had *assumed* that this was
only relevant when setting session variables though - something that I do not
use in this application.
I have about 5 user controls which build up the page.
About 10 functions in total perhaps, one works out what page the user is
on, one display and image based on that, one changes hex to dec for colour
codes (see my other thread entitled - Setting table cell colors) - the others
are primarily for building tables dynamically.
Some add rows, some add cells...thats about it....
hmm....still a bit unsure what might be causing it now....its currently still in 'debug' mode - I've not done a 'release' mode version yet - could that be anything to do with it?
Thanks again for any help.
Regards
Rob
No, nothing to do with sessions. This is a timeout on the asp applications -
the amount of time no one makes any requests.
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message
news:_n*******************@news-text.cableinet.net... Thanks both of you for your replies, I assume you are both talking about
the session timeout at this point...
If so...its currently set to 20 minutes, I had *assumed* that this was
only relevant when setting session variables though - something that I do not
use in this application.
I have about 5 user controls which build up the page.
About 10 functions in total perhaps, one works out what page the user is
on, one display and image based on that, one changes hex to dec for colour
codes (see my other thread entitled - Setting table cell colors) - the others
are primarily for building tables dynamically.
Some add rows, some add cells...thats about it....
hmm....still a bit unsure what might be causing it now....its currently still in 'debug' mode - I've not done a 'release' mode version yet - could that be anything to do with it?
Thanks again for any help.
Regards
Rob
The idleTimeout setting in the processModel section within machine config
controls the time an application will wait with no requests before releasing
its resources back to the system. The default is infinite, so it should not
recycle unless this default setting for the server has been changed.
If your getting strange behaviour, an easy workaround is to create a very
small windows service that polls the asp.net application every couple of
minutes for a pointless web request, thus acting as a keepalive.
--
Regards
John Timney
Microsoft Regional Director
Microsoft MVP
Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message
news:7_*******************@news-text.cableinet.net... Hi all,
I put a small site together recently using asp.net - having attended a MS .Net course a little while back we were told that the first time a .net application is run it'll take a little longer than usual - which I have noticed to be the case - thats fine - after that it always seems as I'd expect - however, whilst playing recently I noticed that if I browsed to
the site for the first time the following day it would also take a little
longer than you'd expect - no where near as long as the first time since being built, but still a few seconds....it seems now that it doesn't just have
to be the following day, indeed a return within an hour or so would give the same results.
I mentioned this in passing to a colleague who suggested that it would be
no longer stored in the Global Assembly Cache, if this is the case, what can
I do to make this 'not overly popular' website load quickly each time...my concern is that until the clients business grows their website may not indeed be that popular, thus it could well be just them popping by to have
a look at it (as we all do) - if so - each time they visit it'll seem
unfairly slow - my codes not that bad! :o)
Any help or information regarding this would be appreciated,
Kind regards
Rob
This is the row I believe you have all mentioned (thanks by the way)..
<processModel enable="true" timeout="Infinite" idleTimeout="Infinite"
shutdownTimeout="0:00:05" requestLimit="Infinite" requestQueueLimit="5000"
restartQueueLimit="10" memoryLimit="60" webGarden="false"
cpuMask="0xffffffff" userName="machine" password="AutoGenerate"
logLevel="Errors" clientConnectedCheck="0:00:05"
comAuthenticationLevel="Connect" comImpersonationLevel="Impersonate"
responseDeadlockInterval="00:03:00" maxWorkerThreads="20"
maxIoThreads="20"/>
I would certainly not have edited this by hand, is there anyway to have
changed it using a GUI? Does the above look like the norm?
Thanks again for further help
Regards
Rob
Marina,
I'm a bit confused by this value.
How does it behave compared with the session timeout ? Does it restart using
this value (shutdown possibly session even if the session timeout value is
greater) or is this some additional amount of time ?
I suppose ASP.NET still ends the app when there is no more sessions (even
when this value is infinite) ???
Thanks in advance for any pointers (so far the doc I've saw is not crystal
clear)
Patrice
"Marina" <so*****@nospam.com> a écrit dans le message de
news:%2****************@TK2MSFTNGP12.phx.gbl... No, nothing to do with sessions. This is a timeout on the asp
applications - the amount of time no one makes any requests.
"Rob Meade" <ro********@NO-SPAM.kingswoodweb.net> wrote in message news:_n*******************@news-text.cableinet.net... Thanks both of you for your replies, I assume you are both talking about the session timeout at this point...
If so...its currently set to 20 minutes, I had *assumed* that this was only relevant when setting session variables though - something that I do not use in this application.
I have about 5 user controls which build up the page.
About 10 functions in total perhaps, one works out what page the user is on, one display and image based on that, one changes hex to dec for colour codes (see my other thread entitled - Setting table cell colors) - the others are primarily for building tables dynamically.
Some add rows, some add cells...thats about it....
hmm....still a bit unsure what might be causing it now....its currently still in 'debug' mode - I've not done a 'release' mode version yet -
could that be anything to do with it?
Thanks again for any help.
Regards
Rob
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: J. Baute |
last post by:
I'm caching data in the Application object to speed up certain pages on a website
The main reason is that the retrieval of this data takes quite a while (a few seconds) and fetching the same data...
|
by: DDE |
last post by:
Hi everybody,
I developed an assembly common to all my Web Services, so I registered it
and put it in the Global Assembly Cache. Now, I modified this assembly, but
cannot succed to have this new...
|
by: JerryW |
last post by:
I just reinstalled .NET 2003 (after repeated attempts to get ASP.NET
Web Applications to work). I first did a complete uninstall of .NET
2003, .NET Framework 1.1, and IIS. I also completely deleted...
|
by: Janaka |
last post by:
Hi All,
I'm having a problem with Page Output caching on a page that contains a
DataGrid. Basically the page pulls up some data for sales information from
the DB. Some of this has to be...
|
by: Steve W |
last post by:
I have an ASP.NET app that calls into some VB.NET components. It passes in
the current application's cache (HttpContext.Current.Cache).
These VB.NET components also get called by a non-ASP.NET...
|
by: Rick Hein |
last post by:
I've got a problem with an app I've been working on, the Caching object and
events not firing correctly. In a nutshell: When I'm debugging, and I set a
breakpoint in the removed item call back, the...
|
by: Ray |
last post by:
Dear all,
Now, I am using Global Assembly Cache to share assembly between server
and clients. However, it seems that the server and clients use individual
Global Assembly Cache. For example, the...
|
by: aptenodytesforsteri |
last post by:
I have an ASP.NET 2.0 application I've localized to English, French,
German, and Italian.
I used resource (.resx) files.
Most of the site is static content, easily 90% of it, so I thought...
|
by: Toni |
last post by:
Hello! I'm trying to use ASP.NET caching with my web site and SQL Server,
but I have a problem.
I try to do everything according to the instructions like this page here:...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
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...
| |