How do I display a message in my WCF Application?

I am currently developing a WCF Publish Subscribe service on a windows form application. How do I code it such that whenever the publisher publish something, my WCF Service would display a message in the winforms app saying :

Post has been sent to all subscribers at [Current Time]

Do I have to create another callback channel? Or just another service contract.



I am assuming that you are publishing events by sending WCF calls from your windows forms application.

In this case you can do this with events.

When your WCF service sends the message, it also rasises an event. In the shell of your windows application you catch the event and display a message box.

Need Your Help

Java encryption by client and decryption by server, using PBKDF2WithHmacSHA1 and AES/CBC/PKCS5Padding

java encryption cryptography padding jce

I'm going for secure confidentiality as long as the private key stays secret, and I get following error in my app when decrypting: javax.crypto.BadPaddingException: Given final block not properly ...

Android : setVisibility not work

android class

I want change view linearlayout from class

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.