I’m making a simple app than needs to store a simple structure of data. Something that looks like a job for a serialized XML, but .. I remember reading somewhere about something that was better for the job, but simple enough to be compiled in my own app.
I’ve looked at SterlingDB but seams like an overkill and I would be a pain to make it compile in my own assembly
Do you know something better than a serialized XML store?
edit: I know about SQLite, Compact SQL, db4o, but I’m looking for something tiny.
You could use Google’s “protocal buffers” binary format. Marc Gravell built a .net implementation. (note, I’ve never used it myself):
http://code.google.com/p/protobuf-net/
(from the Protobug web page):
It is designed to be:
protobuf-net is a .NET implementation of this, allowing you to serialize your .NET objects efficiently and easily. It is compatible with most of the .NET family, including .NET 2.0/3.0/3.5, .NET CF 2.0/3.5, Mono 2.x, Silverlight 2, etc.
(end of quote)