Webgardening

J

J-T

I have two questions in IIS,

1) If I assign my ASP.NET application to an application pool with one
worker process only ,and if the worker process is supposed to be shut down
after 20 minutes what happens to to my global variables like application
objects and etc.


2) If I enable webgardening (maximum number of 4 differnt worker process)
,then how these worker processes interact with my application objects .Are
my application objects are accessible in all of them? Is there still the
concept of AppDomains here in this scenario?


Thanks
 
K

Kevin Spencer

Good questions!
1) If I assign my ASP.NET application to an application pool with one
worker process only ,and if the worker process is supposed to be shut down
after 20 minutes what happens to to my global variables like application
objects and etc.

When the applications shuts down, all in-memory objects are destroyed. You
will need to handle that eventuality.
2) If I enable webgardening (maximum number of 4 differnt worker process)
,then how these worker processes interact with my application objects .Are
my application objects are accessible in all of them? Is there still the
concept of AppDomains here in this scenario?

Application data is not shared between applications. You could implement a
database solution for any data that needs to be shared.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
You can lead a fish to a bicycle,
but you can't make it stink.
 
J

J-T

I am not going to go into the web farm,I am still in one box but with web
gardening activated (more than one worker processes is serving my
application assigned to one application pool)

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top