I don't think we have any tutorials on this, unfortunately. In C++, we have a TFileTransport which stores messages in a chunked file with error-correction. Otherwise, there is just a TSimpleFileTransport, which is a very simple wrapper around basic read/write syscalls.
It doesn't look like file transports have been written for C#. It should be an extremely straightforward process. I'm not familiar with C# myself, but I assume it has similar I/O interfaces to Java. Wrapping one of these up in a Thrift transport class should be a very quick task. You should essentially be able to model this off TSocket.cs, and probably use the same TStreamTransport.cs base class. All you'll need to fill in are the mechanics of opening/closing the file, and getting input/ouputStream objects. Cheers, mcslee -----Original Message----- From: Kim l. Bendtsen [mailto:k...@logistics.as] Sent: Thursday, October 21, 2010 3:52 AM To: thrift-user@incubator.apache.org Subject: Using thrift for file message transport Is there any tutorials explaining how to use Thrift for storing and retrieving messages in a file? I'm doing a c# program and can't seem to find an example on this. Br Kim