posts - 87, comments - 101, trackbacks - 82

My Links

News

View Anthony Trudeau's profile on LinkedIn

Add to Technorati Favorites

Article Categories

Archives

Post Categories

Other Links

XML Schema Providers for Serialization

Keith Pijanowski had a great article in MSDN magazine titled “Enrich Your XML Serialization With Schema Providers in the .NET Framework.”  His article talks about the use of XML schemas for the purpose of serialization with classes.  Using an XML schema removes some of the limitations I mentioned in a previous article about using XML serialization including the need for a set accessor.

This of course brings a new problem to the table.  Where do you put the schema files?  The most obvious choice is as content in separate XSD files.  That, however, is that many more files to worry about during deployment.  In this article I provide a helper class that you can use to retrieve your XML schemas from the embedded resources in an assembly.

Read the full article

Print | posted on Wednesday, June 14, 2006 1:44 PM | Filed Under [ .NET ]

Feedback

Gravatar

# re: XML Schema Providers for Serialization

There's a good article on the Code Project about doing the serialization with object trees.

http://www.codeproject.com/soap/XmlSchemaProvider.asp
6/15/2006 5:59 AM | Anthony Trudeau

Post Comment

Title  
Name  
Email
Url
Comment   

Powered by: