Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Serialization of an Object Graph

Posted on 2013-01-05
2
Medium Priority
?
298 Views
Last Modified: 2013-01-06
What type of serialization can be used on an Object Graph?  According to my MCTS Exam 70-536 book, I can't use XML Serialization. So is it Binary or Soap? Or is it something else?

FYI---Definition of Object Graph - a set of objects that reference one another.
0
Comment
Question by:metro156
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 8

Expert Comment

by:5teveo
ID: 38747884
0
 
LVL 42

Accepted Solution

by:
Meir Rivkin earned 1600 total points
ID: 38748167
using NetDataContractSerializer you can easily serialize Object Graph without serializing same instances but only use a reference via unique id.
check this example:
http://blogs.microsoft.co.il/blogs/bursteg/archive/2006/08/10/WCF-Serialization-Same-Objects.aspx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question