The lineup for CodeStock has officially been announced, and this looks to be the best CodeStock yet. As usual, there’s going to be a great group of speakers and sessions. I will be presenting two sessions at CodeStock this year. This first, Build Your Own Application Framework with ASP.NET MVC 3, will be a two…
try-catch-FAIL
Month: <span>March 2011</span>
Fluent XML Serialization–Part 2: Compiling Serialization
The design and implementation of Fluently-XML’s domain-specific language was covered in my last post. The language builds up configuration information that must then be transformed into a form that’s useful for performing serialization and deserialization at runtime. In this post, I’ll show you how that translation occurs. The Configuration Data As I illustrated in the…
Fluent XML Serialization–Part 1: The Domain Specific Language
Serializing objects to XML is easy in .NET thanks to the XmlSerializer class, but developers will quickly find that the built-in serializer is limited and not easy to extend. A more flexible approach is needed to support complex serialization needs. Today I’ll show you Fluently-XML’s domain-specific language for configuring serialization behaviors, and I’ll dive (a…
Fluent XML Serialization–Introduction
The System.Xml.XmlSerializer class enables .NET applications to serialize/deserialize most types to and from XML using only a few lines of code. This is a great capability and provides an easy API for simple persistence and interoperability scenarios. As a developer, you have some degree of control over the XML that’s generated, but the process is…