Related to questions like this and this about ASP.NET thread agility: Can a windows service written in C# exhibit the same thread agility behavior seen in ASP.NET? Or is thread agility more a feature of IIS than .NET?
Really what I'm after is can I be sure that thread management within a windows service is entirely up to the service itself? Or can .NET hop threads within a long-running service if it chooses to do so?
No. A windows service is not managed by the IIS pipeline and any threads that are created must be created by the service code itself.
Thread agility is IIS specific. Windows service will not have that behaviour.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With