<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://weblogs.asp.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>Laurent Duveau : WCF</title><link>http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx</link><description>Tags: WCF</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>My Silverlight talk at Montreal .NET User Group</title><link>http://weblogs.asp.net/lduveau/archive/2009/04/07/my-silverlight-talk-at-montreal-net-user-group.aspx</link><pubDate>Tue, 07 Apr 2009 12:31:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:7033016</guid><dc:creator>pluginbaby</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2009/04/07/my-silverlight-talk-at-montreal-net-user-group.aspx#comments</comments><description>&lt;P&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="" border=0 alt="" src="http://weblogs.asp.net/blogs/lduveau/LogoAnglaisSmall_3F87FBF4.png" width=265 height=59 mce_src="http://weblogs.asp.net/blogs/lduveau/LogoAnglaisSmall_3F87FBF4.png"&gt;&lt;/P&gt;
&lt;P&gt;This week I gave a &lt;STRONG&gt;Silverlight presentation&lt;/STRONG&gt; at the &lt;STRONG&gt;Montreal .NET Community&lt;/STRONG&gt; (&lt;A href="http://www.dotnetmontreal.com/" mce_href="http://www.dotnetmontreal.com"&gt;www.dotnetmontreal.com&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;Very few slides and lots of code, I built live from scratch a&lt;STRONG&gt; Silverlight business oriented application&lt;/STRONG&gt; with Visual Studio 2008 and Expression Blend, here is what I demoed:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Entity Framework over a SQL Server db (beers!) &lt;/LI&gt;
&lt;LI&gt;LINQ &lt;/LI&gt;
&lt;LI&gt;WCF service + asynchronous call on the Silverlight 2 client + best practice &amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Design and Animation with Blend + a few tips (tab key&amp;nbsp;to collapse windows, properties search)&lt;/LI&gt;
&lt;LI&gt;Tips to prevent an animation from running twice &lt;/LI&gt;
&lt;LI&gt;DataGrid templating (custom columns, custom selected row view) &lt;/LI&gt;
&lt;LI&gt;DataBinding&lt;/LI&gt;
&lt;LI&gt;Isolated Storage cache [&lt;A href="http://silverlight.net/blogs/jesseliberty/archive/2008/09/29/isolated-storage-actually-it-s-easy.aspx" rel=nofollow target=_blank mce_href="http://silverlight.net/blogs/jesseliberty/archive/2008/09/29/isolated-storage-actually-it-s-easy.aspx"&gt;Learn more&lt;/A&gt;] &lt;/LI&gt;
&lt;LI&gt;Custom alternative “no Silverlight installed” version as well a as a way to simulate a user without Silverlight in IE. I finally build a nice working version of the page with data for the user without forcing him to install Silverlight. [&lt;A href="http://timheuer.com/blog/archive/2008/09/08/silverlight-install-experience-too-hard.aspx" rel=nofollow target=_blank mce_href="http://timheuer.com/blog/archive/2008/09/08/silverlight-install-experience-too-hard.aspx"&gt;Learn more&lt;/A&gt;]&lt;/LI&gt;
&lt;LI&gt;Quickly talked about&amp;nbsp;some of the new features coming&amp;nbsp;with&amp;nbsp;Silverlight 3 (currently beta)&lt;/LI&gt;&lt;/UL&gt;
&lt;TABLE border=0 cellSpacing=0 cellPadding=2 width=500&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=250&gt;&lt;EM&gt;Silverlight experience:&lt;/EM&gt;&lt;/TD&gt;
&lt;TD vAlign=top width=250&gt;&lt;EM&gt;Alternative ASP.NET version:&lt;/EM&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR&gt;
&lt;TD vAlign=top width=250&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="" border=0 alt="" src="http://weblogs.asp.net/blogs/lduveau/image_73BC253A.png" width=225 height=211 mce_src="http://weblogs.asp.net/blogs/lduveau/image_73BC253A.png"&gt; &lt;/TD&gt;
&lt;TD vAlign=top width=250&gt;&lt;IMG style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="" border=0 alt="" src="http://weblogs.asp.net/blogs/lduveau/image_59EA7FBC.png" width=225 height=211 mce_src="http://weblogs.asp.net/blogs/lduveau/image_59EA7FBC.png"&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;
&lt;P&gt;Lot’s of content! I wanted to show a bit of Silverlight 3 but that was too much.&lt;/P&gt;
&lt;P&gt;You can &lt;STRONG&gt;download my code&lt;/STRONG&gt; (*) here:&lt;/P&gt;
&lt;P&gt;&lt;IFRAME style="BORDER-BOTTOM: #dde5e9 1px solid; BORDER-LEFT: #dde5e9 1px solid; PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #ffffff; MARGIN: 3px; PADDING-LEFT: 0px; WIDTH: 240px; PADDING-RIGHT: 0px; HEIGHT: 66px; BORDER-TOP: #dde5e9 1px solid; BORDER-RIGHT: #dde5e9 1px solid; PADDING-TOP: 0px" marginHeight=0 src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrowdetail.aspx/Presentations/Montreal%20User%20Group/Silverlight%20April%202009/BusinessSilverlightApplication.zip" frameBorder=0 marginWidth=0 scrolling=no mce_src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrowdetail.aspx/Presentations/Montreal%20User%20Group/Silverlight%20April%202009/BusinessSilverlightApplication.zip"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;As well as the &lt;STRONG&gt;slides &lt;/STRONG&gt;(french): &lt;/P&gt;
&lt;P&gt;&lt;IFRAME style="BORDER-BOTTOM: #dde5e9 1px solid; BORDER-LEFT: #dde5e9 1px solid; PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #ffffff; MARGIN: 3px; PADDING-LEFT: 0px; WIDTH: 240px; PADDING-RIGHT: 0px; HEIGHT: 66px; BORDER-TOP: #dde5e9 1px solid; BORDER-RIGHT: #dde5e9 1px solid; PADDING-TOP: 0px" marginHeight=0 src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrowdetail.aspx/Presentations/Montreal%20User%20Group/Silverlight%20April%202009/Presentation.pptx" frameBorder=0 marginWidth=0 scrolling=no mce_src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrowdetail.aspx/Presentations/Montreal%20User%20Group/Silverlight%20April%202009/Presentation.pptx"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;(*) The download include the asynchronous Database update as users edit the DataGrid.&lt;/P&gt;
&lt;P&gt;For those of you who are interested to hear about &lt;STRONG&gt;Silverlight 3&lt;/STRONG&gt; don’t worry you still have plenty of events coming!&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://www.codecampmontreal.com/" rel=nofollow target=_blank mce_href="http://www.codecampmontreal.com/"&gt;Montreal Code Camp&lt;/A&gt; in may &lt;/LI&gt;
&lt;LI&gt;Forum des architectes in may &lt;/LI&gt;
&lt;LI&gt;Our &lt;A href="http://www.runatserver.com/SilverlightTraining.aspx" target=_blank mce_href="http://www.runatserver.com/SilverlightTraining.aspx"&gt;Silverlight Tour training&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;More to come… &lt;/LI&gt;&lt;/UL&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=7033016" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/Events/default.aspx">Events</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Speaking/default.aspx">Speaking</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Montreal/default.aspx">Montreal</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>My Silverlight session at DevTeach Montreal</title><link>http://weblogs.asp.net/lduveau/archive/2008/12/05/my-silverlight-session-at-devteach-montreal.aspx</link><pubDate>Fri, 05 Dec 2008 18:23:48 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6767361</guid><dc:creator>pluginbaby</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2008/12/05/my-silverlight-session-at-devteach-montreal.aspx#comments</comments><description>&lt;p&gt;During my “&lt;strong&gt;Business oriented Silverlight 2 application&lt;/strong&gt;” talk at &lt;a target="_blank" href="http://www.devteach.com" rel="nofollow"&gt;DevTeach&lt;/a&gt; conference (december 2008) I used &lt;strong&gt;Visual Studio 2008&lt;/strong&gt; and &lt;strong&gt;Expression Blend&lt;/strong&gt; to build an application that retrieves SQL server data (Beers!) through an &lt;strong&gt;Entity Framework&lt;/strong&gt; model and exposes it to a &lt;strong&gt;Silverlight&lt;/strong&gt; client via a &lt;strong&gt;WCF&lt;/strong&gt; service and &lt;strong&gt;LINQ&lt;/strong&gt; queries. I did some &lt;strong&gt;design and animation&lt;/strong&gt;, added a &lt;strong&gt;ComboBox&lt;/strong&gt; and &lt;strong&gt;DataGrid&lt;/strong&gt; to display data and asynchronously update the model as users edit it. Then I showed how to use &lt;strong&gt;local cache&lt;/strong&gt; on the client to optimize network traffic and finally applyed some &lt;strong&gt;Style&lt;/strong&gt; to shape the UI. &lt;/p&gt;  &lt;p&gt;I had only 2 slides in my ppt deck, and here is my funny slide #2:&lt;/p&gt;  &lt;p&gt;&lt;img title="" border="0" alt="" src="http://weblogs.asp.net/blogs/lduveau/image_jbXX6Q.png" width="500" height="383" /&gt; &lt;/p&gt;  &lt;p&gt;I coded all that live on stage in 60 min without any errors!&lt;/p&gt;  &lt;p&gt;&lt;img title="" border="0" alt="" src="http://weblogs.asp.net/blogs/lduveau/image_RwymwQ.png" width="500" height="483" /&gt; &lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;As promised here is the &lt;strong&gt;source code&lt;/strong&gt; of the application I built live:     &lt;br /&gt;&lt;iframe style="border-bottom: #dde5e9 1px solid; border-left: #dde5e9 1px solid; padding-bottom: 0px; background-color: #ffffff; margin: 3px; padding-left: 0px; width: 240px; padding-right: 0px; height: 66px; border-top: #dde5e9 1px solid; border-right: #dde5e9 1px solid; padding-top: 0px" marginheight="0" src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrowdetail.aspx/Presentations/DevTeach%202008/BusinessSilverlightApplication.zip" frameborder="0" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Slides&lt;/strong&gt;:     &lt;br /&gt;&lt;iframe style="border-bottom: #dde5e9 1px solid; border-left: #dde5e9 1px solid; padding-bottom: 0px; background-color: #ffffff; margin: 3px; padding-left: 0px; width: 240px; padding-right: 0px; height: 66px; border-top: #dde5e9 1px solid; border-right: #dde5e9 1px solid; padding-top: 0px" marginheight="0" src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrowdetail.aspx/Presentations/DevTeach%202008/DevTeach2008-Silverlight2-LaurentDuveau.ppt" frameborder="0" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;[Beers Db by &lt;a target="_blank" href="http://www.andybeaulieu.com/" rel="nofollow"&gt;Andy Beaulieu&lt;/a&gt;]&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:2cf503f8-9a64-488c-8b69-16fca6bb30c8" class="wlWriterSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Silverlight" rel="tag"&gt;Silverlight&lt;/a&gt;&lt;/div&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6767361" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/Events/default.aspx">Events</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Speaking/default.aspx">Speaking</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Montreal/default.aspx">Montreal</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Linq/default.aspx">Linq</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>My Silverlight talk at Microsoft Innovation Briefing</title><link>http://weblogs.asp.net/lduveau/archive/2008/05/23/my-silverlight-talk-at-microsoft-innovation-briefing.aspx</link><pubDate>Fri, 23 May 2008 02:54:00 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6212375</guid><dc:creator>pluginbaby</dc:creator><slash:comments>3</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2008/05/23/my-silverlight-talk-at-microsoft-innovation-briefing.aspx#comments</comments><description>&lt;P&gt;&lt;A href="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/silverlight_2.jpg" mce_href="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/silverlight_2.jpg"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=146 alt="" src="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/silverlight_thumb.jpg" width=150 border=0 mce_src="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/silverlight_thumb.jpg"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;This morning I did a &lt;STRONG&gt;Silverlight 2 talk&lt;/STRONG&gt; at Microsoft Montreal, during a half-day briefing called &lt;STRONG&gt;Building Compelling Websites on the Microsoft Platform&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;That was a 1 hour talk to present Silverlight 2, DeepZoom, Expression Blend and create from scratch a Silverlight 2 application which consume LINQ To SQL data exposed by a WCF service with VS2008.&lt;/P&gt;
&lt;P&gt;I would like to thank &lt;A href="http://blogs.msdn.com/cdndevs/archive/2008/05/22/building-compelling-websites-on-the-microsoft-platform.aspx" target=_blank mce_href="http://blogs.msdn.com/cdndevs/archive/2008/05/22/building-compelling-websites-on-the-microsoft-platform.aspx"&gt;Paul Laberge&lt;/A&gt; for offering me the opportunity to do my very first presentation in english...&lt;/P&gt;
&lt;P&gt;Here are the links to the &lt;STRONG&gt;online demos&lt;/STRONG&gt; I showed:&lt;/P&gt;
&lt;P&gt;DeepZoom: &lt;BR&gt;&lt;A href="http://memorabilia.hardrock.com/" target=_blank rel=nofollow mce_href="http://memorabilia.hardrock.com"&gt;http://memorabilia.hardrock.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Performances comparison with DHTML/Flex/SL1.0/SL2: &lt;BR&gt;&lt;A href="http://www.bubblemark.com/" target=_blank rel=nofollow mce_href="http://www.bubblemark.com"&gt;http://www.bubblemark.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Free charts controls: &lt;BR&gt;&lt;A href="http://www.visifire.com/" target=_blank rel=nofollow mce_href="http://www.visifire.com"&gt;http://www.visifire.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Medical sample (amazing) application: &lt;BR&gt;&lt;A href="http://www.mscui.net/PatientJourneyDemonstrator/" target=_blank rel=nofollow mce_href="http://www.mscui.net/PatientJourneyDemonstrator/"&gt;http://www.mscui.net/PatientJourneyDemonstrator/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Here is a link to the &lt;STRONG&gt;powerpoint slides&lt;/STRONG&gt; I used: &lt;BR&gt;&lt;IFRAME style="BORDER-RIGHT: #dde5e9 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #dde5e9 1px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 3px; BORDER-LEFT: #dde5e9 1px solid; WIDTH: 240px; PADDING-TOP: 0px; BORDER-BOTTOM: #dde5e9 1px solid; HEIGHT: 26px; BACKGROUND-COLOR: #ffffff" marginWidth=0 marginHeight=0 src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrow.aspx/Presentations/Microsoft%20Innovation%20Briefing%202008/Silverlight2.pptx" frameBorder=0 scrolling=no mce_src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrow.aspx/Presentations/Microsoft%20Innovation%20Briefing%202008/Silverlight2.pptx"&gt;&lt;/IFRAME&gt;&lt;/P&gt;
&lt;P&gt;Here is a zip file with the &lt;STRONG&gt;DeepZoom "Bill Gates" demo&lt;/STRONG&gt; (hope you liked it!) and the &lt;STRONG&gt;Silverlight 2 + WCF + LINQ app&lt;/STRONG&gt; I built live. &lt;BR&gt;&lt;IFRAME style="BORDER-RIGHT: #dde5e9 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #dde5e9 1px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 3px; BORDER-LEFT: #dde5e9 1px solid; WIDTH: 240px; PADDING-TOP: 0px; BORDER-BOTTOM: #dde5e9 1px solid; HEIGHT: 26px; BACKGROUND-COLOR: #ffffff" marginWidth=0 marginHeight=0 src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrow.aspx/Presentations/Microsoft%20Innovation%20Briefing%202008/Demos.zip" frameBorder=0 scrolling=no mce_src="http://cid-0e564ed4426a5ecc.skydrive.live.com/embedrow.aspx/Presentations/Microsoft%20Innovation%20Briefing%202008/Demos.zip"&gt;&lt;/IFRAME&gt;&lt;BR&gt;&lt;BR&gt;You'll appreciate my funky UI.&lt;BR&gt;&lt;A href="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/image_2.png" mce_href="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/image_2.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=305 alt="" src="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/image_thumb.png" width=400 border=0 mce_src="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/b78116506cb3_EE36/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;For the gentleman who asked the question I couldn't answer:&lt;/P&gt;
&lt;P&gt;Question: "Can you customize the default Loading animation the user get while waiting for a Silverlight application to start ?"&lt;/P&gt;
&lt;P&gt;Answer: "Yes! you can find a tutorial in the Quickstarts: &lt;A href="http://silverlight.net/QuickStarts/BuildUi/SplashScreen.aspx" target=_blank rel=nofollow mce_href="http://silverlight.net/QuickStarts/BuildUi/SplashScreen.aspx"&gt;http://silverlight.net/QuickStarts/BuildUi/SplashScreen.aspx&lt;/A&gt;"&lt;/P&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6212375" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/Web+Development/default.aspx">Web Development</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Events/default.aspx">Events</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Speaking/default.aspx">Speaking</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Montreal/default.aspx">Montreal</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Linq/default.aspx">Linq</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>Silverlight 2: migrating from alpha to beta 1</title><link>http://weblogs.asp.net/lduveau/archive/2008/03/20/silverlight-2-migrating-from-alpha-to-beta-1.aspx</link><pubDate>Thu, 20 Mar 2008 03:24:12 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:6000239</guid><dc:creator>pluginbaby</dc:creator><slash:comments>2</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2008/03/20/silverlight-2-migrating-from-alpha-to-beta-1.aspx#comments</comments><description>&lt;p&gt;Today I had to migrate a &lt;strong&gt;Silverlight Alpha 1.1&lt;/strong&gt; project to &lt;strong&gt;Silverlight 2 beta 1&lt;/strong&gt; for a client.&lt;/p&gt; &lt;p&gt;As we had to expect there are&lt;strong&gt; a lot of changes&lt;/strong&gt;! &lt;/p&gt; &lt;p&gt;First thing to notice: after installing &lt;strong&gt;Silverlight 2 Tools for Visual Studio 2008&lt;/strong&gt; you won't be able to open your Silverlight 1.1 projects in VS2008, you have to migrate.&lt;/p&gt; &lt;p&gt;The best way is to create a new Silverlight application and copy your old files there, then this article will be a huge help to fix your issues:&lt;br&gt;&lt;strong&gt;MSDN: Breaking Changes in Silverlight 2&lt;/strong&gt;&lt;br&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/cc189007(vs.95).aspx" target="_blank" rel="nofollow"&gt;http://msdn2.microsoft.com/en-us/library/cc189007(vs.95).aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Here are some of the changes I had to deal with:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;HtmlDocument.GetElementBy&lt;strong&gt;ID &lt;/strong&gt;-&amp;gt; HtmlDocument.GetElementBy&lt;strong&gt;Id&lt;/strong&gt;&lt;/li&gt; &lt;li&gt;System.Windows.WebApplication.RegisterScriptableObject -&amp;gt; HtmlPage.RegisterScriptableObject&lt;/li&gt; &lt;li&gt;System.Windows.WebApplication -&amp;gt; System.Windows.Application&lt;/li&gt; &lt;li&gt;[Scriptable] attribute -&amp;gt; [ScriptableType] for class,&amp;nbsp; [ScriptableMember] for methods&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;br&gt;And the one who surprised me the most: &lt;strong&gt;Web Services&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;It is said that you have to regenerate your Web Service client proxies, but when looking for "Add Web Reference" in VS2008, I don't find it!! I just have "Add Service Reference" which is WCF for me. For ASP.NET 3.5 projects, you have both "Add Service Reference" for WCF and "Add Web Reference" for Web Services.&lt;br&gt;I know that Silverlight 2 supports both WCF and Web Services, so where the hell is "Add Web Reference" ??&lt;/p&gt; &lt;p&gt;Answer is: use "Add Service Reference"!&lt;br&gt;&lt;strong&gt;Calling a Web Service in Silverlight 2 is very similar to calling a WCF Service&lt;/strong&gt;, that means that you have to specify binding and endpoint.&lt;/p&gt; &lt;p&gt;Second surprise: &lt;strong&gt;all web service calls must be asynchronous!&lt;/strong&gt;&lt;br&gt;You must implement the async pattern, that surprised me at first, but now I found that this is not a bad thing and just requires 2 or 3 lines of code, so get used to it!&lt;br&gt;&lt;br&gt;For syntax and code details I invite you to read this very good post :&lt;br&gt;&lt;strong&gt;Calling web services with Silverlight 2&lt;/strong&gt;&lt;br&gt;&lt;a href="http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silverlight-2.aspx" target="_blank" rel="nofollow"&gt;http://timheuer.com/blog/archive/2008/03/14/calling-web-services-with-silverlight-2.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=6000239" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/Tips+and+Tricks/default.aspx">Tips and Tricks</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Silverlight/default.aspx">Silverlight</category></item><item><title>.NET Framework 3.5 Common Namespaces and Types Poster</title><link>http://weblogs.asp.net/lduveau/archive/2007/11/12/net-framework-3-5-common-namespaces-and-types-poster.aspx</link><pubDate>Mon, 12 Nov 2007 15:56:30 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:5098013</guid><dc:creator>pluginbaby</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2007/11/12/net-framework-3-5-common-namespaces-and-types-poster.aspx#comments</comments><description>&lt;p&gt;&lt;img height="390" alt=".NET Framework 3.5" src="http://weblogs.asp.net/blogs/lduveau/WindowsLiveWriter/.NETFram.5CommonNamespacesandTypesPoster_997F/poster_d2ee1cba-9366-4fe5-a8ac-6166a5860f7a.png" width="500" border="0"&gt; &lt;/p&gt; &lt;p&gt;It is available to download and print:&lt;br&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=7B645F3A-6D22-4548-A0D8-C2A27E1917F8&amp;amp;displaylang=en" target="_blank"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=7B645F3A-6D22-4548-A0D8-C2A27E1917F8&amp;amp;displaylang=en&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=5098013" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WPF/default.aspx">WPF</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category></item><item><title>Still hungry about Framework 3.0 ?</title><link>http://weblogs.asp.net/lduveau/archive/2007/02/24/still-hungry-about-framework-3-0.aspx</link><pubDate>Sat, 24 Feb 2007 16:02:11 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1785660</guid><dc:creator>pluginbaby</dc:creator><slash:comments>0</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2007/02/24/still-hungry-about-framework-3-0.aspx#comments</comments><description>&lt;p&gt;Here is a cool link to&amp;nbsp;a .NET Framework 3.0 training kit for WorkFlow Foundation (WF), Windows Communication Foundation (WCF), and CardSpace including a set of hands-on-labs, demos, and presentations.&lt;/p&gt; &lt;p&gt;It has 13 presentations, 10 labs, and 16 Demos in it. &lt;p&gt;Get it there :&lt;br&gt;&lt;a title="Framework 3.0 training kit" href="http://wf.netfx3.com/files/folders/presentations/entry8793.aspx" target="_blank"&gt;http://wf.netfx3.com/files/folders/presentations/entry8793.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1785660" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category></item><item><title>Hungry about Framework 3 ?</title><link>http://weblogs.asp.net/lduveau/archive/2007/02/16/hungry-about-framework-3.aspx</link><pubDate>Fri, 16 Feb 2007 23:45:18 GMT</pubDate><guid isPermaLink="false">c06e2b9d-981a-45b4-a55f-ab0d8bbfdc1c:1688611</guid><dc:creator>pluginbaby</dc:creator><slash:comments>1</slash:comments><comments>http://weblogs.asp.net/lduveau/archive/2007/02/16/hungry-about-framework-3.aspx#comments</comments><description>&lt;p&gt;Go to &lt;a title="Visit DinnerNow a Full Framework 3 sample app!" href="http://www.dinnernow.net" target="_blank"&gt;DinnerNow&lt;/a&gt; !!!  &lt;p&gt;This is a great sample application which use the latest Microsoft technologies !  &lt;p&gt;"DinnerNow is a fictious marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies."  &lt;p&gt;And the list of technologies used is amazing :&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Windows Communication Foundation  &lt;li&gt;Windows Workflow Foundation  &lt;li&gt;Windows Presentation Foundation  &lt;li&gt;Windows CardSpace  &lt;li&gt;Windows Powershell  &lt;li&gt;IIS7  &lt;li&gt;ASP.NET Ajax Extensions  &lt;li&gt;Virtual Earth  &lt;li&gt;Gadgets  &lt;li&gt;Linq  &lt;li&gt;.NET Compact Framework&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The entire DinnerNow sample application can be downloaded from CodePlex :&lt;br&gt;&lt;a href="http://www.codeplex.com/dinnernow/release/projectreleases.aspx" target="_blank"&gt;http://www.codeplex.com/dinnernow/release/projectreleases.aspx&lt;/a&gt;&lt;/p&gt; &lt;p&gt;There is also a cool video (but it breaks before the end...) :&lt;br&gt;&lt;a href="http://www.dinnernow.net/downloads/videos/Scenario1_web/flash/default.html" target="_blank"&gt;http://www.dinnernow.net/downloads/videos/Scenario1_web/flash/default.html&lt;/a&gt;&lt;/p&gt;&lt;img src="http://weblogs.asp.net/aggbug.aspx?PostID=1688611" width="1" height="1"&gt;</description><category domain="http://weblogs.asp.net/lduveau/archive/tags/AJAX/default.aspx">AJAX</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WPF/default.aspx">WPF</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/Microsoft/default.aspx">Microsoft</category><category domain="http://weblogs.asp.net/lduveau/archive/tags/WCF/default.aspx">WCF</category></item></channel></rss>