.netpersistencerapid-prototyping

What's a simple/lightweight way to persist objects in .net during development and experimentation?


I'm looking for a simple way to persist objects when experimenting and creating mock UIs or services. I already know what ORM I'll ultimately use later on when producing a releasable product but I don't want to bother setting it all up at this stage.

I'm looking for something that:

What I really want, is something like a hashtable that survives application restarts.

What tools would you see appropriate for this? What approaches do you take when you want to persist simple data structures without any muss?


Solution

  • You could just use the framework's built-in Serialization Support.

    In terms of your requirements: