Listen for events in another application

后端 未结 5 1762
北荒
北荒 2020-11-30 04:43

Suppose I have two applications written in C#. The first is a third party application that raises an event called \"OnEmailSent\".

The second is a custom app that I\

5条回答
  •  萌比男神i
    2020-11-30 05:36

    You can implement a similar scenario with SQL Server 2005 query change notifications by maintaing a persistent SqlConnection with a .NET application that blocks until data changes in the database.

    See http://www.code-magazine.com/article.aspx?quickid=0605061.

提交回复
热议问题