Run winforms program to run whenever a record is inserted into SQL Server through a web application

I need to run a Winforms program that runs in the taskbar tray whenever a row is added to the SQL Server database from a web application. Is there any way to do this?

At the moment, the program constantly checks the database for a new record and falls asleep in the main stream if nothing is inserted, but I also need to be able to run the program when the user inserted a line from the web application.

added : web application, database and winforms work on the same server.

thank

+3
source share
3 answers

"" SQL Server:

SQL, .

SQL, CLR. , , , , - .

, , , , INSERT. - SqlDependency, , Service Broker.

SqlDependency, - , . , Windows.

+2
0

Source: https://habr.com/ru/post/1789434/


All Articles