Marcelo Dias
Marcelo Dias

Reputation: 429

What happens to a IIS started thread after a redeploy?

My doubt is the following:

IIS wait the started thread to finish, throws a exception or just stop abruptly without exceptions?

Thank you

Upvotes: 1

Views: 726

Answers (1)

Sam
Sam

Reputation: 2917

If you redeploy the application with web.config the worker process used by your application pool will get recycled. Even if you change the web.config without deploying it'll restart (recycle) the worker process.

Worker process recycle means your application will restart again. It will wait for the running processes to complete.

But, if you just deploy your .aspx code it will not recycle the worker process.

Also read this at SO about worker process recycling.

Upvotes: 1

Related Questions