I invoke a lot of asynchronous activities from my ASP.NET app. For example, when app starts, I put a file-system watcher on a folder and perform some actions when the watcher fires its events.
Also, I subscribe to Sql Server Query Notifications (manually, not using SqlDependency) and again actions are performed when notifications are fired.
I wonder which threads these asynchronus notifications are fired upon? Are they fired on an ASP.NET thread-pool thread, or another background thread?
Also, the notifications for Watcher and for QN would be fired on the same thread, or they would always be on different threads?
I always think tomorrow will have more time than today. And every today seems to pass-by faster than yesterday.
Rahul Singla | http://www.rahulsingla.com
View Complete Post