A A
RSS

Tag Archive | "xml"

Serialize Object To Clean XML

Tuesday, February 23, 2010

Comments Off

I hate all the junk that gets added when serializing object to XML, so here is a quick way to do it cleanly. Here is the dirty way: public static string Serialize(this object obj) { string XmlString = String.Empty; using (var memStream = new MemoryStream()) { var serializer = new XmlSerializer(obj.GetType(), string.Empty); using (var xmlText [...]

.net AJAX ASP.NET ASP.NET MVC aspnetmvc Blogging Books C# database di Funny Interesting ioc iPhone jquery Lifestyle LINQ Mac mvc mvcbook MVC Book ninject Open Source php Productivity Programming Random ror ruby Silverlight Software SQL Startup tdd Testing tips Tips & Tricks Uncategorized vb.net Video Visual Studio Web Design Web Dev wordpress Yonkly
Advertise Here

What I'm Doing...

Recent Posts

Yonkly Open Source

Sign up for my newsletter




* = required field

powered by MailChimp!

megree Widget

Apparently, I am connected to Obama. Check this out...
My path to Obama

Cyber Identity