So i have a service that creates letters and puts them in a database (sql-server). I also have an application (c#,wpf) where there's a list with letters(from the database)
How can i trigg开发者_运维问答er an event in the application if a new letter is made? (so that the list should be updated)
Anyone who knows how to do this?
Thanks
I would suggest looking into WCF.
The Introductory Videos are really helpfull, and you will need some sort of communication between the 2 applications.
I would suggest the letting the service allow client to subscribe to letter changes, and the server service(the one that puts letts in) to notify the clients about change of letters so the clients can refresh.
精彩评论