About
This blog is mostly about my work, but expect an occasional home project, productivity tip and tooling review.Search
Categories
- Conference (20)
- Development (208)
- Security (17)
- Test (32)
- Tooling (166)
- Uncategorized (167)
Most used tags
Tag Archives: serialize
ASP.NET MVC WebApi and Xml serialization
In our project we use XSD to describe messages over project boundaries. This way we can all develop in our own speed. The XSD describes XML with attributes and elements. ASP.NET MVC WebApi supports this, but not out-of-the-box. Default the … Continue reading
Serialize Nullable<T> or not
When we tried to serialize an object to XML we noticed that Nullable types are special. A class is not serialized when null, but a Nullable type is a struct. See the code blow and notice the highlighted line in … Continue reading