I am using WebAPI
to push some data in to the database.
A windows service operating in the same server has to get notified when a data is inserted by the WebAPI
I have seen this SO question which suggests using Service Broker
or SqlDependency
but the question seems to be asked quite a while ago.
I googled out but could not find any simpler solutions. All I wanna do is when a new data is inserted to Database, a function in the the windows service should fire
.
Do we have any alternatives or a much similar solution in WebAPI - Windows Services
context ?