Solved

Static properties and HttpRequests in AppDomain

Posted on 2007-12-05
3
371 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

832 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