WCF Receive-Request Communication In C# Aplication
I want to use WCF for server to client communication. Start clinet which will s开发者_如何学Cend message to server , ones server receive message its display that message in from of MessageBox Confirmation For Asked Question. So reply will be Yes/No which sent back to client.
As per result of Yes/No clinet will process ahed ...
How can I achieve above thing in C#.net?
I have read many articles about callback but did not get much idea for implementation.
This tutorial walks through creating the client & service. The difference is, instead of implementing a calculator, you'll want to implement your code for whatever the service does.
One question, though, why do you want the service to display a yes/no and not the client?
FWIW, I once wrote a series of blog posts that describe how to approach development of Duplex WCF services with Test-Driven Development.
精彩评论