|
Whatever serializer is appropriate for whatever arbitrary purpose.
I've even written my own serializers to support file types are not baked into the .NET BCL.
|
|
|
|
|
thanks for pointing out the link.
in my mind I am thinking of this universal serializer to replace customized one [^]
diligent hands rule....
|
|
|
|
|
How about DataContract serializer? :p
Though for my own takeover the world project (in progress) I wrote a DocumentReaderWriter with its own feature!
|
|
|
|
|
thanks for the thought. In your Menu-ribbon Bar project, which way do you use?
diligent hands rule....
|
|
|
|
|
Nah, the MenuRibbon project doesn't use any serializer!
The super secret take over the world project is completely secret for now!
Though, speaking of which, I was about to rework my serializer to make it a bit more general... Might share it with you if you like, but its not an automatic serializer, more like a document reader/writer utility and might require some work to use...
(it does automatically save DataContract but without Emit, so it's slower than DataContractSerializer too)
|
|
|
|
|
I usually use a version of MycroXaml[^] to instantiate .NET classes from XML, and I usually need some custom serialization code going the other way.
Marc
|
|
|
|
|
For xml, I roll my own. My stuff can gracefully recover from the possibility of missing/invalid values, and assign reasonable defaults. That way, my app runs no matter what happens in the config file.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
The framework's binary Serializer is not intended to be used for data at rest; the intent was to make it as fast as possible for real time IPC and the resulting internal format is extremely brittle and will break if you change anything about the class (or worse its namespace). For all that, Google's Protocol Buffer library (.net flavor) is much faster at binary serialization while being much more flexible and having really good cross platform support as well
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Ho-hum; yet another birthday. Share it with lots of famous people I've never heard of. Yay to me.
|
|
|
|
|
Happy Birthday Mark!
Hope you have a good time - doing much for it?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Thanks to all the bday wishes.
Spent the day at the beach: couldn't ask for a better day.
|
|
|
|
|
Looks like we share a birthday. So happy birthday to both of us.
/ravi
|
|
|
|
|
Happy birthday!
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Thanks!
/ravi
|
|
|
|
|
Happy Birthday to you
|
|
|
|
|
|
You're one of the famous people he's never heard of?
Happy birthday!
My blog[ ^]
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
|
|
|
|
|
Thanks!
/ravi
|
|
|
|
|
and/or :wine: for you too - congrats, have a good one (yes, I know, :wine: doesn't actually work, its the thought/intent that counts)
|
|
|
|
|
Thanks, Garth!
/ravi
|
|
|
|
|
Happy B-Day!
What do you get when you cross a joke with a rhetorical question?
---
The metaphorical solid rear-end expulsions have impacted the metaphorical motorized bladed rotating air movement mechanism.
---
Do questions with multiple question marks annoy you???
|
|
|
|
|
|
Happy birthday to the both of ya...!
Will Rogers never met me.
|
|
|
|
|
|