c# - NamedPipe binary messages -
c# - NamedPipe binary messages -
simple question (details follow) : how utilize named pipes, without soap serialization, want have on method , read byte array myself. i'm trying implement service not rely on xml, through named pipes.
few weeks ago, wrote service using wcf , web sockets. service, deal non .net software, utilize custom binding simple contract :
[operationcontract(isoneway = true, action = "*")] task message(system.servicemodel.channels.message message);
and callback :
[operationcontract(isoneway = true, action = "*")] task onmessage(system.servicemodel.channels.message result);
in case, read byte array , deserialize using protobuf.
i've got service on same machine, , want improve performence using protobuf deserializer. service exposed named pipes (with our former contracts).
with new websocket server, , protobuf serializer, implement on sec service. looking @ protobuf endpoint behavior, seems override xmlobjectserializer, seems still utilize xml.
do have thought on how ?
thanks
c# wcf named-pipes
Comments
Post a Comment