[protobuf] Re: Protobuf over HTTP

2010-11-25 Thread mvbaffa
Thanks Marc, Just one more question. Can I use protobuf-net for RPC Services If Yes can these services be written and driven by WCF services, with WsHttpBinding or TCPBinding ??? Thanks again, On Nov 24, 9:50 pm, Marc Gravell marc.grav...@gmail.com wrote: That all depends on how

Re: [protobuf] Re: Protobuf over HTTP

2010-11-25 Thread Marc Gravell
WCF can provide RPC, and protobuf-net can elbow it's way inside WCF *for some scenarios*. One option here is simply with some WCF configuration changes: http://marcgravell.blogspot.com/2009/11/controlling-wcf-protobuf-net-at.html It isn't specific to any particular binding - but works best for

[protobuf] Re: Protobuf over HTTP

2010-11-24 Thread mvbaffa
I will look for the threads, Thank you. I have a huge legacy in WCF/JSON and WCF/WsHttpBinding. I need to make it work with Flex. I have already used Fluorine but I would like to use protobuf now for my services. I intend to use protobuf-net in the server and protobuf-actionscript3 in the

Re: [protobuf] Re: Protobuf over HTTP

2010-11-24 Thread Marc Gravell
As yet, there is no single common RPC standard for use with protobuf. Protobuf-net hacks itself into WCF by swapping out some WCF guts, but while that will work with WCF-to-WCF it won't make sense to flex. That is why I suggested just sending a byte-array, since this is easily represented by

[protobuf] Re: Protobuf over HTTP

2010-11-24 Thread mvbaffa
I supposed I could send information from Flex using ProtoBuf- Actionscript and a WCF Service using a ProtoBufSerializationBehavior, from protobuf-net, could receive and deserialize the information. In that case I would need only to make avaiable the same services I already have with a diferent

Re: [protobuf] Re: Protobuf over HTTP

2010-11-24 Thread Marc Gravell
That all depends on how ProtoBuf-Actionscript encodes the payload. I know nothing about that, so can't really comment. On 24 November 2010 19:28, mvbaffa mvba...@gmail.com wrote: pposed I could send information from Flex using ProtoBuf- Actionscript -- Regards, Marc -- You received