RESTful.NET and protobuf-net

Can protobuf-net be used on RESTful web services built with WCF RESTful starter kit or OpenRasta? If possible, are there any examples or code snippets? I am creating a .NET Web Service that will be used by a Java client.

+2


a source to share


2 answers


I haven't looked at it / specifically /, but it could potentially help with additional tools.

If you are working with both java and .NET then this is a more important question than just protobuf-net; you will need to use it as the end of java. protobuf (wire format) is cross platform, with protobuf-net being just one specific implementation.



If your preferred REST API allows for efficient processing byte[]

(either as a base-64 string in a message or as a raw response), you can simply treat it as binary.

If you can point me to the tool you want to use, I can take a look, but I can't guarantee anything immediately.

+2


a source


The OR lacks support for the protocol buffer, but it is 5 lines to connect a new codec for reading and writing the format.



0


a source







All Articles