Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Browse by Tags
Search
Archives
Archives
February 2013
(1)
January 2013
(1)
July 2012
(1)
June 2012
(1)
February 2012
(1)
June 2011
(1)
September 2010
(1)
June 2010
(1)
May 2010
(1)
March 2010
(1)
January 2010
(1)
December 2009
(1)
November 2009
(3)
October 2009
(1)
August 2009
(1)
July 2009
(2)
June 2009
(3)
May 2009
(1)
April 2009
(4)
Tags
.net
behaviors
configuration
datacontractresolver
datacontractserializer
errors
IIS
metadata
odata
paging
refreshsection
Serialization
svcutil
testing
wcf
webapi
websocket
wsdl
xmlserializer
xsd
Common Tasks
Blog Home
Email Blog Author
RSS for posts
RSS for comments
Tagged Content List
Blog Post:
Using the [ContractNamespace] attribute to customize the namespace for POCO types
Youssef Moussaoui - MSFT
In .NET 3.5 SP1, DataContractSerializer was enhanced to support POCO types that weren’t marked with any serialization attributes at all. You can find my previous post about serializing POCO types here . But in some cases, you may want to customize the XML namespace of your POCO types without necessarily...
on
30 Jun 2011
Blog Post:
Serializing Plain Old CLR Object (POCO) types with DataContractSerializer
Youssef Moussaoui - MSFT
When version 3.0 of the .NET framework shipped, DataContractSerializer could only support a few categories of CLR types. Sowmy has a good list of these that you can find here . The recommended model was to use DataContractAttributes on classes and structs along with DataMemberAttributes on fields and...
on
10 Aug 2009
Blog Post:
Optimizing Away Repeat XML Namespace Declarations with DataContractSerializer
Youssef Moussaoui - MSFT
For performance reasons, DataContractSerializer can’t always figure out what namespaces will be used in a serialized instance ahead of time. And so, you may sometimes end up having a certain XML namespace defined over and over again when it only has to be declared once. This can be particularly painful...
on
24 Jul 2009
Blog Post:
Comparing the Performance of .NET Serializers
Youssef Moussaoui - MSFT
The .NET framework comes with a variety of different serializers. Hopefully, my overview of these serializers will have provided some insight into the differences between them and the various advantages and disadvantages of using different serializers. But there are not only great differences in functionality...
on
10 Jul 2009
Blog Post:
Customizing the XML for collections with XmlSerializer and DataContractSerializer
Youssef Moussaoui - MSFT
One of the most common requests I get about serialization is to explain how to get collections to serialize out one way or another to XML. Specifically, developers are interested in being able to manipulate the hierarchy level of the collection within their XML and the names of the various XML elements...
on
12 Jun 2009
Blog Post:
Configuring Known Types Dynamically - Introducing the DataContractResolver
Youssef Moussaoui - MSFT
This post has been updated to account for the changes to the DataContractResolver in the Beta 2 release of .NET 4.0. This will be my first of several posts about new features that are showing up in the Beta 1 release of .NET 4.0. Beta 1 was released just a few weeks ago and you can download it...
on
5 Jun 2009
Page 1 of 1 (6 items)