Solved

Serialization of an Object Graph

Posted on 2013-01-05
2
287 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
2 Comments
 
LVL 8

Expert Comment

by:5teveo
ID: 38747884
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 400 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
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…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

821 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