<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>With Great Power comes Great Response.write("Ability") : Versioning</title><link>http://blogs.msdn.com/phaniraj/archive/tags/Versioning/default.aspx</link><description>Tags: Versioning</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Versioning note , writing SL 3.0 applications with Astoria v1.5 Sl 2.0 SDK Library</title><link>http://blogs.msdn.com/phaniraj/archive/2009/03/25/versioning-note-writing-sl-3-0-applications-with-astoria-v1-5-sl-2-0-sdk-library.aspx</link><pubDate>Wed, 25 Mar 2009 05:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9506125</guid><dc:creator>PhaniRajuYN</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/phaniraj/comments/9506125.aspx</comments><wfw:commentRss>http://blogs.msdn.com/phaniraj/commentrss.aspx?PostID=9506125</wfw:commentRss><description>&lt;P&gt;As part&amp;nbsp; of the v1.5 install, we also shipped a Silverlight 2.0 SDK library that is capable of talking to a v1.5 Astoria Service. &lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Did you know that you could use the Silverlight 2.0 client library we shipped as part of our v1.5 CTP1 release in Silverlight 3.0 applications?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;From a Silverlight SDK library point of view ,to use &lt;A href="http://blogs.msdn.com/MFlasko" mce_href="http://blogs.msdn.com/MFlasko"&gt;Mike Flasko’s&lt;/A&gt; words, ”we are nothing but user code”. &lt;BR&gt;We have no dependencies on the Runtime that have changed in SL 3.0 , &lt;STRONG&gt;&lt;EM&gt;yet&lt;/EM&gt;&lt;/STRONG&gt;. &lt;BR&gt;So , you can use the Silverlight 2.0 SDK library that we shipped in v1.5 CTP1 , by &lt;BR&gt;replacing the reference to “System.Data.Services.Client.dll” with “Microsoft.Data.Services.Client.dll”&lt;/P&gt;
&lt;P&gt;In your Silverlight project , &lt;BR&gt;&lt;BR&gt;1. If you already have a reference to “System.Data.Services.Client.dll” in your SIlverlight application , remove it .&lt;/P&gt;
&lt;P&gt;2. If you have the v1.5 CTP1 installed , the Silverlight client binaries are stored in the following location , &lt;BR&gt;&lt;SPAN style="BACKGROUND-COLOR: #ffcc00"&gt;%ProgramFiles%\ADO.NET Data Services V1.5 CTP1\sl_bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;3. Bring up the “Add Reference” window by right clicking the “References” node for the Silverlight 3.0 Project in Visual Studio.&lt;/P&gt;
&lt;P&gt;4. Use the “Browse” tab of the “Add Reference” window to browse to this location to add a reference to “Microsoft.Data.Services.Client.dll”.&lt;/P&gt;
&lt;P&gt;5. Rebuild and run the app . &lt;BR&gt;&lt;/P&gt;&lt;A&gt;&lt;/A&gt;
&lt;P&gt;&lt;STRONG&gt;What about Code-gen , &lt;BR&gt;&lt;/STRONG&gt;&lt;STRONG&gt;Can I point the Silverlight 3.0 application at a v1.5 CTP1 service and get all the binding &amp;amp; Friendly Feeds mappings generated in the Client types?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;No &lt;/STRONG&gt;, there is no integration for v1.5 codegeneration tools in Visual Studio for Sl 3.0 Projects . &lt;BR&gt;You will have to use the DataSvcUtil.exe tool from the following directory manually to generate the types with binding information for SL 3.0 projects .&lt;/P&gt;
&lt;P&gt;Location for DataSvcUtil.exe : &lt;SPAN style="BACKGROUND-COLOR: #ffcc00"&gt;%ProgramFiles%\ADO.NET Data Services V1.5 CTP1\bin&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;From a runtime perspective , is there any functionality in the v1.5 SL 2.0 library that is not present when the dll is inside a xap built with SL 3.0 tools ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;No , none , everything should just work . If something doesn’t work , please leave a comment on this post or write to me at PhaniRaj At Microsoft Dot Com.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;What about Silverlight 3 Out-Of-Browser applications ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;The Astoria Silverlight client library doesn’t yet work with Out of the Browser Silverlight applications.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9506125" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/phaniraj/archive/tags/Astoria/default.aspx">Astoria</category><category domain="http://blogs.msdn.com/phaniraj/archive/tags/Documentation/default.aspx">Documentation</category><category domain="http://blogs.msdn.com/phaniraj/archive/tags/Versioning/default.aspx">Versioning</category></item></channel></rss>