When one of clients changes some data on server I need to send a message from WCF service to all clients that makes them to download changed data. How can I make that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You are looking for Publish-subscribe message exchange pattern where all client first have to register on the service (subscribe) when service receives new data it sends them to all other clients (publish).
WCF support this when using duplex communication – Net.Tcp or WSDualHttpBinding. You can check complex artice by Juval Lowy in MSDN magazine.