thrift-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Greene <>
Subject Re: Server-to-server communication with serialized objects
Date Fri, 03 Apr 2009 16:38:33 GMT
The binary type is supported in C# as well as any other type.  We used
to use roughly this technique during a proof of concept phase before
converting more of our structures to Thrift, it should work fine.  Let
us know if you have any problems, but it sounds like a reasonable idea
Jonathan (of course, these are completely unusable to non-.NET
endpoints, but they can process the rest of the message just fine and
ignore the .NET bytes).


On Fri, Apr 3, 2009 at 11:31 AM, Bryan Duxbury <> wrote:
> Assuming that the binary type is well supported in C#, your idea certainly
> sounds like the right idea. Maybe one of our C# people can chime in about
> binary support?
> -Bryan
> On Apr 3, 2009, at 8:55 AM, Jonathan Marcus wrote:
>> Hi,
>> I have a bunch of C# servers that need to talk to each other, and I'm
>> using Thrift to handle the communication. My programs use their own objects
>> internally, and I'd prefer to leave their structure out of my .thrift file.
>> What would be the best way to pass these objects back and forth? They're
>> all serializable, so I'm thinking that I should just convert them into a
>> byte-array and put it into a 'binary' type, but I don't know if that type is
>> fully supported in C#.
>> Any thoughts/ideas?
>> Thanks,
>> Jonathan

View raw message