Solved

Static properties and HttpRequests in AppDomain

Posted on 2007-12-05
3
375 Views
Last Modified: 2013-11-06
In IIS 6, there is a notion of an AppDomain to isolate applications from each other for security, availability, performance(that's what I've read so far).  From my understanding, when there are multiple web requests comiing into IIS 6 for that same application so for example there is an AppDomain setup for my Search application, an HttpApplication objects gets created for each request that comes in.  My first question, could you please elaborate further on the process here, do each of these requests spawn new HttpApplication objects or do they get recycled somehow?  My second more relevant question.  So if I have a static property, is this property shared between ALL of the HttpRequests?  I understand that between Threads, the static property will be shared but I'm wondering about between HttpRequests.

To summarize, I have 5 users hitting my Search application(which is an AppDomain).  First, are there going to be 5 new HttpApplication objects created, one for each request?  Secondly, will this static property be shared among all of the requests?  
0
Comment
Question by:sraz786
3 Comments
 
LVL 27

Accepted Solution

by:
Dan McFadden earned 500 total points
ID: 20420837
Here is probably one of the most direct explanations of AppDomains... (IMHO)

http://www.odetocode.com/Articles/305.aspx

Hope this helps
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20591177
Forced accept.

Computer101
EE Admin
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question