?
Solved

Static properties and HttpRequests in AppDomain

Posted on 2007-12-05
3
Medium Priority
?
394 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 28

Accepted Solution

by:
Dan McFadden earned 2000 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
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.
Suggested Courses

771 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