Serialization framework for .NET with migrations

I am used to working with Ruby / Rails and ActiveRecord map. One of the nice things about this structure is the migration strategy for defining the database schema. This means that older versions of the database can always be automatically updated.

However, I am now working with .NET. I'm looking to create a file format for storing custom data for projects. XML is the obvious choice, and .NET serialization to XML is trivial. However, as the project ages, the serialization strategy may need to change. Fields may need to be renamed or moved, or their types changed.

Use case: the new version of the program should download the old version of the project file, this can happen automatically, possibly with a message to the user about the transfer of the downloaded file.

Is there an existing serialization framework for .NET that can handle standard versioning and migration, or do I have to start from scratch?

+3
c # .net serialization migration


source to share


No one has answered this question yet

Check out similar questions:

1939
Difference between decimal, float and double in .NET?
1339
How can I rename a database column in Ruby on Rails migrations?
1185
JSON serialization in jQuery
1071
JavaScriptSerializer - JSON serialization of an enum as a string
946
How to avoid curly braces (curly braces) in a format string in .NET.
890
How can I get the app path in a .NET console app?
841
Sending email in .NET via Gmail
838
How do I turn a C # object into a JSON string in .NET?
681
.NET String.Format () to add commas to thousands of number places
530
How do you make a deep copy of an object in .NET (like C #)?



All Articles
Loading...
X
Show
Funny
Dev
Pics