473,396 Members | 1,860 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

.Net 2.0 load all .dll into cache when IIS starts

Hello,

Could you tell me how to load all needed .dll into cache before user hits
the website, rather than that IIS loads needed .dll when users hit the
wbsite page?

Thanks a lot.

Feb 26 '07 #1
2 1853
Something must hit the web site, either a user or a bot. IIS will begin
processing when the application start event is fired and will release the
cache when the application end event fires (approximately the same time that
the last session in the web times out). There's no other way to really
handle this except by having some bot that will hit the web site very x
minutes. Keep in mind, you don't always want the app in cache, you'll want
it to recycle so IIS can regain resources and improve efficiency.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Charlie Hoo" <Ch*****@newsgroups.nospamwrote in message
news:ec**************@TK2MSFTNGP04.phx.gbl...
Hello,

Could you tell me how to load all needed .dll into cache before user hits
the website, rather than that IIS loads needed .dll when users hit the
wbsite page?

Thanks a lot.

Feb 26 '07 #2
Hello, Mark,

Thank you for your quick response. Could you also tell me how to load all
..dll(s) and pages when the first user hits the website(.Net 2.0) no matter
whether the .dll(s) are used for current page or not? In other words, all
pages and needed .dll(s) are loaded into cache for whole web application.

Thank you again for your help.

Charlie

"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:uq**************@TK2MSFTNGP03.phx.gbl...
Something must hit the web site, either a user or a bot. IIS will begin
processing when the application start event is fired and will release the
cache when the application end event fires (approximately the same time
that the last session in the web times out). There's no other way to
really handle this except by having some bot that will hit the web site
very x minutes. Keep in mind, you don't always want the app in cache,
you'll want it to recycle so IIS can regain resources and improve
efficiency.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006

"Charlie Hoo" <Ch*****@newsgroups.nospamwrote in message
news:ec**************@TK2MSFTNGP04.phx.gbl...
>Hello,

Could you tell me how to load all needed .dll into cache before user hits
the website, rather than that IIS loads needed .dll when users hit the
wbsite page?

Thanks a lot.


Feb 26 '07 #3

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

Similar topics

6
by: Shabam | last post by:
A web application of mine developed using C# + MS SQL runs fine normally. However when I stress test it with a load testing software (using about 60 simultaneous users) some instances start...
13
by: darrel | last post by:
I had a conversation with a friend today. I'm working on a project where I have an XML file that stores the site structure and some page-centric variables. I have a handful of controls that will...
15
by: H00ner | last post by:
Hello All Hope you can help Been pulling my hair out about a popup problem in ASP.NET. One of the forms i wrote requires the user to select a product from a list in a popup web form. the...
13
by: Andrew Morton | last post by:
I am caching some data in VB.NET using System.Web.Caching, is it possible to lock the cache so that other sessions attempting to access the same cache wait when it is being updated? I have the...
2
by: Sergey Poberezovskiy | last post by:
Hi, I have an application where I need to ensure that users do not use browser navigation buttons. I specifically warn the users, and in every page set the folllowing:...
0
by: mrjaxon | last post by:
Basically the issue is, when the XSL style sheet is loaded by URI it is cool but when the exact same style sheet loaded by it's contents the load fails (for this particular style sheet). Because...
8
by: Joe Withawk | last post by:
I have a solution consisting of a c# project as win application and a c++ project as classlibrary. Both are .net 2.0 The classlibrary handles some loading of quicktime movies, but that should not...
5
by: Trapulo | last post by:
Hello, I'm developing an asp.net application that is connected to a remote system using WCF (wshttp binding). So I want to use a local cache to manage data that I receive from remote service. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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...
0
BarryA
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...
0
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...
0
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.