?
Solved

Serialization of an Object Graph

Posted on 2013-01-05
2
Medium Priority
?
295 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:
sedgwick 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

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
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 Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

770 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