C
Chris Murphy via DotNetMonster.com
Hey all, just wondering if anyone can point me in the right direction. I'm
developing a solution that allows a user to store multiple text-based
content (like code snippets, notes, documents etc.) in one master document.
I'm not exactly sure which is the most efficient method of going about
this. Should I:
a. Use a container file like a CAB file and read/write separate textfiles
to it?
b. Save all "documents" in a collection and serialize to a file?
the second option is the one I'm leaning towards, but then I run into
versioning problems (new builds of the application/class wont read the
serialized object). I'm at a loss here. I've looked at Treepad Lite and
it's method of storing files, but for the life of me I'm not sure how it's
done. A little help from you pros out there would be very much appreciated!
Thank you!
developing a solution that allows a user to store multiple text-based
content (like code snippets, notes, documents etc.) in one master document.
I'm not exactly sure which is the most efficient method of going about
this. Should I:
a. Use a container file like a CAB file and read/write separate textfiles
to it?
b. Save all "documents" in a collection and serialize to a file?
the second option is the one I'm leaning towards, but then I run into
versioning problems (new builds of the application/class wont read the
serialized object). I'm at a loss here. I've looked at Treepad Lite and
it's method of storing files, but for the life of me I'm not sure how it's
done. A little help from you pros out there would be very much appreciated!
Thank you!