Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to send object through NamedPipe in .NET 3.5?

Can you tell me what's the best way to send objects through NamedPipes in .net 3.5?

like image 492
kyrisu Avatar asked Jul 26 '09 17:07

kyrisu


3 Answers

Serialize your object by XmlSerializer than send it as a text and deserialize in the other side, or use WCF named pipes binding as Remus suggests

like image 102
Arsen Mkrtchyan Avatar answered Sep 18 '22 06:09

Arsen Mkrtchyan


WCF NetNamedPipes binding is the way to go, you might also consider .NET Remoting to achieve this

like image 25
Abhijeet Patel Avatar answered Sep 22 '22 06:09

Abhijeet Patel


Use WCF on a NetNamedPipeBinding. See also Expose a WCF Service through a Named Pipes binding.

like image 28
Remus Rusanu Avatar answered Sep 18 '22 06:09

Remus Rusanu