SilverlightShow: Recording of Webinar 'WCF RIA POCO Domain Services' by Brian Noyes Comments http://www.silverlightshow.net/ Silverlight articles, Silverlight tutorials, Silverlight videos, Silverlight samples SilverlightShow.net http://www.rssboard.org/rss-specification Argotic Syndication Framework 2008.0.2.0, http://www.codeplex.com/Argotic en-US estoychev@completit.com (Emil Stoychev) Re: Recording of Webinar 'WCF RIA POCO Domain Services' by Brian Noyes <p>On a similar note in use of POCO objects, is there a way to share a POCO object between the silverlight and host if the POCO object is not actually returned from any domain service? we have a POCO schema class that we want to use in the UI that goes along with the object being returned from our domain service and we havent found a way to get the silverlight app to know about it short of either referencing a silverlight version of the schema library or having a domain service method that just returns a new instance of the second class (and has no real code).</p> <p>I'd like to come up with a better way to allow the silverlight app to see the Class2 schema, but so far can't come up with anything. Ideas? I also tried </p> <p>so for example our domain service might look like this:</p> <p>[Invoke]<br /> public Class1 GetTheClass1()<br /> {<br />     //do some actual code here and return object<br />     return WCFService.GetTheClass1();<br /> }</p> <p>[Invoke]<br /> public Class2 GetTheClass2()<br /> {<br />    //this is just a dummy method so code generator creates the Class2 schema so silverlight app can see it<br />   return new Class2();</p> <p>}</p> <p> </p> http://www.silverlightshow.net/video/WCF-RIA-Services-Webinar-4.aspx#comment7289 kquinbar http://www.silverlightshow.net/video/WCF-RIA-Services-Webinar-4.aspx Wed, 07 Dec 2011 00:16:15 GMT