worker-process

Singleton object in IIS Web Garden

I have a lot of Singleton implementation in asp.net application and want to move my application to IIS Web Garden environment for some performance reasons. CMIIW, moving to IIS Web Garden with n worker process, there will be one singleton object created in each worker process, which make it not a single object anymore because n > 1. c...

Quicker way to attach to the worker process in VS

I'm using VS 2010. And in VS 2010 it's even more painful now to attach to the worker process when you want to test your local IIS site via IIS, not the VS built-in web server. It's more painful because now when you select the worker process () via the Debug Menu | Attach to Process | w3wp.exe it brings up an additional prompt asking if...

Does IIS6 or IIS7 suppports client connection affinity to a worker process when using Web Gardens?

We have a .NET 3.5 application that stores sessions "In process". The application works fine when Web Garden in IIS6 is set to 1. However, when we change to 2 or more, users gets kick out and asked to log in again. As far as I have read, this can be solved by storing sessions out of the process (either state server or database). Assumi...

C# Worker process garden framework

Here is the situation, I have a worker process that is automating Internet Explorer (via AxSHDocVw). This worker process is launched via a custom Windows service on the OS shell. I need to run somewhere between 4-8 of these worker processes to handle each batch of work in timely manner. I really don't want to have to tear down and recrea...

Do external references slow down my ASP.NET application? (VS: Add Reference dialog)

I've noticed as my website gets bigger and bigger, the time my laptop takes to display my page is much longer then say a new projects with minimal references. I think there are two variables at play that affect ASP.NET warm-up time: The quantity of external references The time it takes for a worker process to new() up each instance pe...

Prevent IIS from reusing worker processes for separate ASP.Net AppDomains

When IIS restarts an ASP.Net (2.0) web application, it can either: Recycle the AppDomain: Unload the AppDomain and load a new AppDomain on the same process (e.g. when HttpRuntime.UnloadAppDomain() is called, when web.config is changed). Recycle the process: unload the AppDomain and load a new one on a new process (e.g. when invoking Re...

Programmatically find when the ASP.NET worker process and app domain last started?

In ASP.NET: How can I tell when the ASP.NET worker process last restarted? In ASP.NET, how can I tell when the app domain last recycled? ...