Home Contact

O(geek)

Running in time proportional to Geek.

News

Archives

Post Categories

Syndication:

Cool XmlSerializer Features

Tim Ewald is back to blogging with a great new article:  XmlSerializer sans XSD

After recently playing with the XML Serialization attributes on classes for a project in InfoPath, this article hits perfectly to show you how to create classes based on an existing XML File.  For my project in InfoPath I pretty much worked the opposite way and created a class with the attributes to be serialized down through a web service.  The Invoicing sample with the InfoPath SDK gives a great example of this.  I was absolutely amazed at how easy it was to point to a web service, pull down my class schema, build an InfoPath form, and shove it back up to the server without ever needing to touch XML other than the attributes.  Now it is very cool to see that it is just as easy working the opposite direction, when you are given an existing XML file like an RSS feed. 

The more I work with .NET the more I'm amazed at all the features there are. 


Feedback

No comments posted yet.


Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: