<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WCF RIA Services</title><link>http://forums.silverlight.net/forums/53.aspx</link><description>A forum for discussing the client and server pieces that make up the WCF RIA Services framework for Silverlight</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: .NET RIA Services V1 CTPs: current thinking</title><link>http://forums.silverlight.net/forums/thread/304369.aspx</link><pubDate>Sat, 17 Oct 2009 19:27:08 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:304369</guid><dc:creator>ringi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/304369.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=304369</wfw:commentRss><description>&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I am not yet using Silverlight or RIA services however this is what I would like to see.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I don’t mind being limited to .NET 4 as it is unlikely many people will be using RIA before .NET 4 ships.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The short term pain of having to get .NET 4 installed is worth it for the years of benefit that a better RIA will give.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I would like to see match better support for NHibernate including examples.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I don’t wish to have to choose between the leading ORM and the leading UI platform… &lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;I would like to see support for WPF, encase I have to switch from Silverlight to WPF at some point.&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 0pt;"&gt;&lt;font face="Times New Roman" size="3"&gt;Having a system like Aps.net dynamic data to generate the 101 simple data admin forms any reel applicant needs would be of great value.&amp;nbsp; (Otherwise part of an&amp;nbsp;application may need to be Asp.net just to use Aps.net dynamic data)&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;However don’t delay version 1 for this.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: .NET RIA Services V1 CTPs: current thinking</title><link>http://forums.silverlight.net/forums/thread/303089.aspx</link><pubDate>Thu, 15 Oct 2009 03:01:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:303089</guid><dc:creator>nigelpage</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/303089.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=303089</wfw:commentRss><description>&lt;p&gt;We would like to be able to use the DomainSevice with anything we like and are happy to build adapters if required. Our current needs are: -&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;WCF integration&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;ASP.NET MVC integration&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;We have a current WCF service layer that is used for app integration and need to maintain that, as well as not wanting to duplicate functionality on the server side, so settling on DomainService would be very advantageous. Our current UI standard is WPF, but our intent is to move it all to Silverlight. When we started development Silverlight could not support what we needed, but that is no longer true, so we will take advantage of it.&lt;/p&gt;
&lt;p&gt;We also need to be able to expose &amp;#39;snippets&amp;#39; of functionality embedded in ASP.NET MVC pages, so out of the box&amp;nbsp;integration is&amp;nbsp;also important to us.&lt;/p&gt;
&lt;p&gt;Quite frankly, the more plumbing you provide, the less we have to provide, so flexibility on server side usage of DomainSevice is important to us.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Nigel&lt;/p&gt;</description></item><item><title>Re: .NET RIA Services V1 CTPs: current thinking</title><link>http://forums.silverlight.net/forums/thread/299634.aspx</link><pubDate>Thu, 08 Oct 2009 14:04:33 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:299634</guid><dc:creator>Casimodo72</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/299634.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=299634</wfw:commentRss><description>&lt;p&gt;Regarding MVVM:&lt;/p&gt;&lt;p&gt;Jeff Handley&amp;#39;s &lt;b&gt;EntityCollectionView &lt;/b&gt;seems to work with &lt;b&gt;EntityList &lt;/b&gt;and
&lt;b&gt;EntityCollection&lt;/b&gt;, while Brad Abrams&amp;#39; version does not have support for
EntityCollection. Could it be made to work on an&lt;b&gt; interface instead&lt;/b&gt;?&lt;/p&gt;&lt;p&gt;Would be great if Jeff Handley could also expose something like the (internal to DDS) &lt;b&gt;DomainDataSourceEntityCollection &lt;/b&gt;and make the EntityCollectionView work with it. It&amp;#39;s really handy to have a collection in between the EntityList.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Kasimier &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: .NET RIA Services V1 CTPs: current thinking</title><link>http://forums.silverlight.net/forums/thread/297662.aspx</link><pubDate>Mon, 05 Oct 2009 18:07:42 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:297662</guid><dc:creator>ColinBlair</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/297662.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=297662</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;RobertMcCarter:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;li&gt;An absolute MUST is the offline data story (the functionality from the attachable behaviours demonstrated by Nikhil at MIX).&amp;nbsp; I&amp;#39;m &lt;i&gt;really&lt;/i&gt; hoping you&amp;#39;ve got this in for the PDC beta.&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Support for the M-V-VM pattern is &lt;i&gt;very&lt;/i&gt; important&lt;/li&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I am not sure about the attachable behavior thing, but the offline data story for RIA Services is pretty good. Taking all of the Entities in the EntityContainer, saving them to isolated storage, and then bringing them back in is pretty easy. I have code&lt;a href="http://www.riaservicesblog.net/Blog/post/ApplyState-and-ExtractState-with-RIA-Services-Contrib.aspx"&gt; on my blog&lt;/a&gt; to do that. There was an official Microsoft example showing offline storage as well but it is a lot heavier.&lt;/p&gt;
&lt;p&gt;RIA Services is really, really good at MVVM support. BradA &lt;a href="http://blogs.msdn.com/brada/archive/2009/09/07/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-viewmodel.aspx"&gt;has all of the code&lt;/a&gt; needed to replicate the parts of the DDS that are worthwhile in your VM code.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: .NET RIA Services V1 CTPs: current thinking</title><link>http://forums.silverlight.net/forums/thread/297614.aspx</link><pubDate>Mon, 05 Oct 2009 16:59:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:297614</guid><dc:creator>RobertMcCarter</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/297614.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=297614</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s probably too late for input, but here are my thoughts:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;An absolute MUST is the offline data story (the functionality from the attachable behaviours demonstrated by Nikhil at MIX).&amp;nbsp; I&amp;#39;m &lt;i&gt;really&lt;/i&gt; hoping you&amp;#39;ve got this in for the PDC beta.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Support for the M-V-VM pattern is &lt;i&gt;very&lt;/i&gt; important&lt;/li&gt;&lt;li&gt;I think .NET 3.5 sp1 is a must&lt;/li&gt;&lt;li&gt;I really don&amp;#39;t care about EF support&lt;/li&gt;&lt;li&gt;I don&amp;#39;t care about integration with ASP.NET MVC, etc...&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Additionally, it would be great if the generated Silverlight classes mimicked the class hierarchy on the server side!&amp;nbsp; I&amp;#39;ve designed my server-side class hierarchy very carefully and for very important reasons - having the code generator completely flatten it is very frustrating.&lt;/p&gt;&lt;p&gt;Thank you for the excellent work, even in preview form this is a great tool! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Robert&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/287783.aspx</link><pubDate>Tue, 15 Sep 2009 19:11:04 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:287783</guid><dc:creator>Casimodo72</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/287783.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=287783</wfw:commentRss><description>&lt;p&gt;This sounds very good.&lt;/p&gt;&lt;p&gt;Regarding (3):&lt;br /&gt;&lt;br /&gt;1) I currently cannot think of an automated way to generate attribute initializations&lt;br /&gt;&amp;nbsp;&amp;nbsp; without knowing exactly the internals of the attribute&amp;#39;s type.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; a) If the attribute has a default constructor, one could generate the initialization&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with named arguments resembling all public properties (and the values of those) of the attribute.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - This does not always work. E.g. the DisplayAttribute wants its GetShortName()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to be called, rather than its ShortName property in order to perform a lookup on its ResourceType.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; b) If the attribute doesn&amp;#39;t have a default constructor, thus wants positional arguments,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; then I need to know what properties at what position of the attribute should be used as positional arguments.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; c) I need to know the default values of the attribute&amp;#39;s properties to avoid to flood the initialization&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; with unneeded property setters.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; Currently I assume that a generation can only be performed when using some kind of description of the&lt;br /&gt;&amp;nbsp;&amp;nbsp; attribute&amp;#39;s type, or by coding dedicated transformations for each known attribute type.&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;2) AFAIK, &lt;b&gt;only a specific set of known attributes on the domain class are generated/regenerated&lt;/b&gt; on the&lt;br /&gt;&amp;nbsp;&amp;nbsp; client side entity and its properties.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; E.g. if I annotate my domain class or any of its properties with my new custom attribute &amp;quot;MyDummyAttribute&amp;quot;,&lt;br /&gt;&amp;nbsp;&amp;nbsp; then this attribute will never be gerated on the entity.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;3) I can have my &amp;quot;MyDummyAttribute&amp;quot; transported to the client side though using the &amp;quot;shared&amp;quot; partial classes&lt;br /&gt;&amp;nbsp;&amp;nbsp; (those are read-only for the generator).&lt;br /&gt;&lt;br /&gt;So what I would need is the code you already seem to have in use for the generation&lt;br /&gt;of the specific set of known attributes.&lt;br /&gt;I currently don&amp;#39;t see the need for me to extend that set - but one never knows.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Kasimier&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/286868.aspx</link><pubDate>Mon, 14 Sep 2009 13:06:47 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:286868</guid><dc:creator>roncain</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/286868.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=286868</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Casimodo72:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I dunno much about T4, but it would be great if those T4 templates could be designed...&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the suggestions.&amp;nbsp; The &amp;quot;override specific chunks&amp;quot; was a fuzzy way to say what you said.&amp;nbsp; We recognize most developers want to just tweak 10% (or less) and let the other 90% be handled by the default implementation.&amp;nbsp; Other developers may want to swap out everything.&amp;nbsp; So our challenge will be to offer extensible ways to do that.&amp;nbsp;&amp;nbsp; Key to that will be a well factored set of T4 templates with good extensibility built-in, operating over a simple object model over the metadata of the domain services.&lt;/p&gt;
&lt;p&gt;From the discussions above, you can see we&amp;#39;ve also heard suggestions about respecting even the order of items in the metadata so that we don&amp;#39;t randomize the order of entities or methods the developer may have grouped.&amp;nbsp; All these factors will go into the design.&lt;/p&gt;
&lt;p&gt;Yes, the helper classes will be part of this story -- but it will be important that even the helpers are extensible.&amp;nbsp; The example #3 you gave is actually quite challenging for the general case, as you no doubt have already discovered.&lt;/p&gt;
&lt;p&gt;At this point, one important aspect of our T4 story is hearing suggestions like yours and the ones above.&amp;nbsp; All of these will help mold the design.&lt;/p&gt;
&lt;p&gt;Ron Can&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/286849.aspx</link><pubDate>Mon, 14 Sep 2009 12:38:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:286849</guid><dc:creator>Casimodo72</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/286849.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=286849</wfw:commentRss><description>&lt;p&gt;@roncain &amp;quot;We&amp;#39;re considering a T4 approach for the next version with a good set of extensible T4 templates (i.e. to let you override specific chunks rather than taking ownership of a single monolithic template)&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I dunno much about T4, but it would be great if those T4 templates could be designed&lt;br /&gt;so that one has full control over the generation process.&lt;br /&gt;&amp;quot;let you override specific chunks&amp;quot; sounds a bit like the current CodeProcessor approach,&lt;br /&gt;which is quite limited, since one can only post-process the CodeDom that is&lt;br /&gt;always generated by default.&lt;br /&gt;&lt;br /&gt;E.g. currently, when the a TypeDescriptionProvider is set for a domain class,&lt;br /&gt;there&amp;#39;s no way to stop the processor from applying it. All one could do is remove all the&lt;br /&gt;generated attributes and apply the TypeDescriptionProvider&amp;#39;s information a second time,&lt;br /&gt;without being able to reuse any of your attribute-generating code.&lt;br /&gt;I.e. the stage at which the desired custom behaviour should have&lt;br /&gt;been applied, namely at attribute aquisition and merge time, is not accessible and&lt;br /&gt;leads to funky hacks.&lt;br /&gt;&lt;br /&gt;The following would be nice:&lt;br /&gt;&lt;br /&gt;1) Let me customize standard stages in the transformation pipe.&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;2) Let me inject new stages (e.g. post-processing, pre-processing, etc.) freely.&lt;br /&gt;&lt;br /&gt;3) Let me have access to a public library for doing standard stuff.&lt;br /&gt;&amp;nbsp;&amp;nbsp; I.e. it&amp;#39;s nice to know that I can customize something by overriding it,&lt;br /&gt;&amp;nbsp;&amp;nbsp; but mostly you realize that if you just want to customize a tiny 10% of&lt;br /&gt;&amp;nbsp;&amp;nbsp; of a thingy, you need to reimplement the other standard 90% without&lt;br /&gt;&amp;nbsp;&amp;nbsp; being able to just call the standard code - because it&amp;#39;s internal.&lt;br /&gt;&amp;nbsp;&amp;nbsp; E.g. I would be very thankfull for a method in the library, which generates&lt;br /&gt;&amp;nbsp;&amp;nbsp; an [Attribute(myPositionalArg, Name=myNamedArg)] by giving&lt;br /&gt;&amp;nbsp;&amp;nbsp; it an instance of an Attribute.&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;As already mentioned, I dunno much about T4 and cannot foresee&lt;br /&gt;what is meant with &amp;quot;let you override specific chunks&amp;quot;,&lt;br /&gt;so this post might not apply.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Kasimier&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Need to 'reflect' on DomainContext</title><link>http://forums.silverlight.net/forums/thread/273566.aspx</link><pubDate>Fri, 21 Aug 2009 09:40:11 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:273566</guid><dc:creator>yashgt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/273566.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=273566</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;A DomainService class exposes a DomainServiceDescription object that contains the list of operations exposed by the DomainService and DomainOperationEntries. This helps frameworks like ASP .NET Dynamic Data to figure out the names of methods in the doamin service.&lt;/p&gt;
&lt;p&gt;We are working on building something similar to Dynamic Data, but on the client side in a Silverlight application which uses RIA Domain Services. It would be useful to have the list of operations and rest of the description of the DomainContext using something like DomainContext.Description, which would emit DomainOperationEntries just as it does on the server.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Yash&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/272991.aspx</link><pubDate>Thu, 20 Aug 2009 15:44:51 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:272991</guid><dc:creator>ColinBlair</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/272991.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=272991</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;roncain:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;ColinBlair:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Adding partial to the class definition would be a very good thing, and if there was some way for the wizard to detect if the named DomainService already exists while it is checking for metadata and not generate the EnableClientAccessAttribute on the additional partial classes that would be a huge help.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Interesting -- both requests for wizard extensibility are focused on what I might call &amp;quot;code gen extensibility&amp;quot;, albeit at a special point in the generation process.&amp;nbsp; We&amp;#39;re considering a T4 approach for the next version with a good set of extensible T4 templates (i.e. to let you override specific chunks rather than taking ownership of a single monolithic template).&amp;nbsp; I had not considered triggering this extensibility at the point a DomainService is generated by a wizard, but it sounds reasonable to add to the scenarios to consider.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;This is great news for future versions of RIA Services. I do love T4 templates.&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/272953.aspx</link><pubDate>Thu, 20 Aug 2009 15:00:05 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:272953</guid><dc:creator>MichaelDBang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/272953.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=272953</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;roncain:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;To be clear, I hear 2 different code-gen needs -- the ability to T4&amp;#39;ize the generation of DomainServices, including during template creation.&amp;nbsp; And the ability to T4&amp;#39;ize the generated proxy classes during a build.&amp;nbsp; All I can promise is that we will add these to our code-gen-extensibility scenarios as we plan the next version.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;YESSSSSSSS!!!&amp;nbsp; Great to hear.&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/272946.aspx</link><pubDate>Thu, 20 Aug 2009 14:36:15 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:272946</guid><dc:creator>roncain</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/272946.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=272946</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;ColinBlair:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;Adding partial to the class definition would be a very good thing, and if there was some way for the wizard to detect if the named DomainService already exists while it is checking for metadata and not generate the EnableClientAccessAttribute on the additional partial classes that would be a huge help.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Interesting -- both requests for wizard extensibility are focused on what I might call &amp;quot;code gen extensibility&amp;quot;, albeit at a special point in the generation process.&amp;nbsp; We&amp;#39;re considering a T4 approach for the next version with a good set of extensible T4 templates (i.e. to let you override specific chunks rather than taking ownership of a single monolithic template).&amp;nbsp; I had not considered triggering this extensibility at the point a DomainService is generated by a wizard, but it sounds reasonable to add to the scenarios to consider.&lt;/p&gt;
&lt;p&gt;To be clear, I hear 2 different code-gen needs -- the ability to T4&amp;#39;ize the generation of DomainServices, including during template creation.&amp;nbsp; And the ability to T4&amp;#39;ize the generated proxy classes during a build.&amp;nbsp; All I can promise is that we will add these to our code-gen-extensibility scenarios as we plan the next version.&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/272932.aspx</link><pubDate>Thu, 20 Aug 2009 14:18:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:272932</guid><dc:creator>ColinBlair</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/272932.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=272932</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;yashgt:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;We would like to customize the generated the Domain Service class, such that it is partial and it invokes a few partial methods that we define. We are not able to customize the Item Template at Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Web\1033\BusinessLogic.zip as we are not able to capture the name of the class, entity chosen ,etc. Had these been exposed as Custom Parameters in the template we could have done something there.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Adding partial to the class definition would be a very good thing, and if there was some way for the wizard to detect if the named DomainService already exists while it is checking for metadata and not generate the EnableClientAccessAttribute on the additional partial classes that would be a huge help.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t agree with the partial methods. You have to take ownership of the DomainService, the wizard is only generating a template for your DomainService. From a technical standpoint, anything in the wizard generated DomainService could just as easily have been done at runtime like how ADO.NET Data Services does it. The only reason that the DomainService exists the way it does is for you to make changes to it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/272922.aspx</link><pubDate>Thu, 20 Aug 2009 13:57:00 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:272922</guid><dc:creator>yashgt</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/272922.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=272922</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We would like to customize the generated the Domain Service class, such that it is partial and it invokes a few partial methods that we define. We are not able to customize the Item Template at Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Web\1033\BusinessLogic.zip as we are not able to capture the name of the class, entity chosen ,etc. Had these been exposed as Custom Parameters in the template we could have done something there.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Yash&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Design suggestion for Visual Studio Domain Service extension</title><link>http://forums.silverlight.net/forums/thread/272862.aspx</link><pubDate>Thu, 20 Aug 2009 12:18:30 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:272862</guid><dc:creator>roncain</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/272862.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=53&amp;PostID=272862</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;yashgt:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;It will be useful if this class is defined as public so that people can derive their own wizards from it and thereby control the structure of the class that gets created.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;It is an interesting idea, but we&amp;#39;re trying to minimize the public surface area we commit to support in future versions, and to minimize the Test matrix for extensibility points (imagine we unseal this class and someone undoes some project changes we assume succeeded).&amp;nbsp; We&amp;#39;ve actually done some of this in house, and it can get difficult to define and test the contracts for what the wizard does.&lt;/p&gt;
&lt;p&gt;What kinds of extensibility were&amp;nbsp;you considering?&amp;nbsp; Adding different references?&amp;nbsp; Altering the project structure?&lt;/p&gt;</description></item></channel></rss>