<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-652174954000901332.post6005016112150530727..comments</id><updated>2010-07-13T09:36:58.927+01:00</updated><category term='Me'/><category term='Random'/><category term='Visual Studio'/><category term='Usability'/><category term='Continuous Integration'/><category term='MVC'/><category term='Architecture'/><category term='Windsor'/><category term='Dependency Injection'/><category term='UTC'/><category term='Session Management'/><category term='Music'/><category term='Design'/><category term='Ninject'/><category term='ASP.NET MVC'/><category term='Quality'/><category term='Testing'/><category term='C#'/><category term='Agility'/><category term='Reflection'/><category term='DateTime'/><category term='Time Zone'/><category term='Unit of Work'/><category term='SEO'/><category term='WCF'/><category term='Travel'/><category term='Database'/><category term='Route Constraints'/><category term='NHibernate'/><category term='WTF'/><category term='Commerce Server'/><category term='Getting Real'/><category term='Routing'/><category term='.NET'/><category term='Silverlight'/><title type='text'>Comments on Øyvind Valland's Babel Lutefisk .net: WCF Data Contract translation</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.babel-lutefisk.net/feeds/6005016112150530727/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/652174954000901332/6005016112150530727/comments/default'/><link rel='alternate' type='text/html' href='http://www.babel-lutefisk.net/2008/02/wcf-data-contract-translation.html'/><author><name>Øyvind Valland</name><uri>http://www.blogger.com/profile/17595718624373482981</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_uJz81f9t7xk/SfDLYNHy4qI/AAAAAAAAADc/DowkLpwcutw/S220/oyvind_avatar_89x89.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-652174954000901332.post-6950020854828899492</id><published>2010-07-13T09:36:58.918+01:00</published><updated>2010-07-13T09:36:58.918+01:00</updated><title type='text'>Hi Thomas,

I wrote this a while back - and have f...</title><content type='html'>Hi Thomas,&lt;br /&gt;&lt;br /&gt;I wrote this a while back - and have found a better way since then. Have a look at AutoMapper - http://automapper.codeplex.com/ - it will do the trick for you I think.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/652174954000901332/6005016112150530727/comments/default/6950020854828899492'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/652174954000901332/6005016112150530727/comments/default/6950020854828899492'/><link rel='alternate' type='text/html' href='http://www.babel-lutefisk.net/2008/02/wcf-data-contract-translation.html?showComment=1279010218918#c6950020854828899492' title=''/><author><name>Øyvind Valland</name><uri>http://www.blogger.com/profile/17595718624373482981</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_uJz81f9t7xk/SfDLYNHy4qI/AAAAAAAAADc/DowkLpwcutw/S220/oyvind_avatar_89x89.JPG'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.babel-lutefisk.net/2008/02/wcf-data-contract-translation.html' ref='tag:blogger.com,1999:blog-652174954000901332.post-6005016112150530727' source='http://www.blogger.com/feeds/652174954000901332/posts/default/6005016112150530727' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1851439064'/></entry><entry><id>tag:blogger.com,1999:blog-652174954000901332.post-7367523830413653020</id><published>2010-07-13T09:11:16.435+01:00</published><updated>2010-07-13T09:11:16.435+01:00</updated><title type='text'>&amp;quot; These two classes shared a number of proper...</title><content type='html'>&amp;quot; These two classes shared a number of properties and because of this their common interface was abstracted out. And this led to really easy translation, because the translator could simply translate treat two types implementing the same interface as the same type.&amp;quot;&lt;br /&gt;&lt;br /&gt;That is a great idea :) unfortunately this is not a option in my case, since I don&amp;#39;t have full control over the buisness entities. How do you usually implement translation when buisness entities and datacontracts are very different? Have you tried Microsoft&amp;#39;s entity translator? (http://msdn.microsoft.com/en-us/library/ff647889.aspx) Or do you think manualle mapping the objects is the best way?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/652174954000901332/6005016112150530727/comments/default/7367523830413653020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/652174954000901332/6005016112150530727/comments/default/7367523830413653020'/><link rel='alternate' type='text/html' href='http://www.babel-lutefisk.net/2008/02/wcf-data-contract-translation.html?showComment=1279008676435#c7367523830413653020' title=''/><author><name>Thomas</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.babel-lutefisk.net/2008/02/wcf-data-contract-translation.html' ref='tag:blogger.com,1999:blog-652174954000901332.post-6005016112150530727' source='http://www.blogger.com/feeds/652174954000901332/posts/default/6005016112150530727' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1074445568'/></entry></feed>
