开发者

Make C# web application to communicate with a Windows Form via named pipes?

I am new to progr开发者_开发百科amming. Right now I am stuck with developing a C# web application that should be able to communicate with a Windows Form via named pipes? Can this be possible? If possible, how?

Note: Web application will be on the server and Windows Form will be on the client.


I could be wrong, but named pipes (specifically, the NetNamedPipeBinding in WCF - thanks Chris) are strictly inter-process IIRC.

You'd be better off a hosting WCF service on the server and connecting to that via the web-app and the Windows Forms app (assuming you can work with .Net 4).


Does this article help?

Taken from there:

(...) working code which you can download and view.

PipeClient.zip and PipeServer.zip

These zip files each contain a Visual Studio 2005 solution with working code and a GUI for testing communication between the client and the server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜