XML Serializing Entity Framework entities with their children for SOA

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 02 Oct 2007 | View original | Bookmarked: 0 time(s)

Another challenge in working with tiered solutions (notably web services) that require xml serialization of entity objects is that the xml serializer does not serialize the entire graph. It only gets the main object and drops all of the relations. This is not because Entity Framework is trying to be mean, just related to how XML serialization works. In fact, the binary serialization gets the entire graph. But in the web services scenarios, we need XML. So how to go about passing the full graph...

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 4974 | Hits: 1067

Similar Posts

  • A Bad Idea, EF Entities over WCF more
  • "The security validation for this page is invalid" when calling the SharePoint Web Services more
  • Twitter API - Get a list of your friends in C# more
  • Talking Points: ADO.NET Entity Framework more
  • Best approach for teaching first exposure to Entity Framework more
  • WSDL-First development with WCF more
  • More on Foreign Keys in EF more
  • Use LINQ to XML to Generate Excel Documents more
  • Sneak Peek at the EntityDataSource Control more
  • Binding EF data to the (free) Xceed WPF Data Grid more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD