Click here to Skip to main content
15,668,646 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
What are the key differences between Sqldependency and SqlNotificationrequest and which is better to use ?

In case of SQLDependency/SQLNotificationRequest you require separate queue per process. If your different processes listen on the same queue then event notification is not guaranteed. But this is how it is right now.
Share this answer
SqlNotificationRequest uses SqlDependency internally to subscribe to query events. I would use SqlNotificationRequest over SqlDependency because most of the wiring is already done and it is meant to make using notifications easier. Technically because one uses the other internally, there is no difference in the two, just one has a lot of the setup work done.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900