<?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>The Silverlight Blog</title><link>http://blogs.msdn.com/b/silverlight/</link><description /><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Silverlight Show: Windows 8 and the future of XAML Part 7: The application lifecycle of Windows 8 applications</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/08/20/silverlight-show-windows-8-and-the-future-of-xaml-part-7-the-application-lifecycle-of-windows-8-applications.aspx</link><pubDate>Mon, 20 Aug 2012 16:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10341004</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10341004</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/08/20/silverlight-show-windows-8-and-the-future-of-xaml-part-7-the-application-lifecycle-of-windows-8-applications.aspx#comments</comments><description>&lt;p&gt;In the previous articles of this series, we have touched on quite a few important aspects of Windows 8 application development. In part 6, we looked at tiles. We saw that live tiles are a way of allowing your application to displaying up-to-date information to the end-user while it’s not running. A valid question that I often get is: why isn’t the application running? We’ve had the multi-tasking paradigm for many years now and it’s something we as developers take for granted. &lt;/p&gt;  &lt;p&gt;Windows 8 breaks with this “tradition”: a new type of application lifecycle is introduced in Windows 8, entirely managed by the operating system itself. However, it has several places where we as developers need to hook into to build great experiences for our users. &lt;/p&gt;  &lt;p&gt;In this article, we’ll take a look at the options we have to manage how our application behaves in combination with the new application lifecycle management. We’ll take a look at executing code in the background as well.&lt;/p&gt;  &lt;p&gt;The code for this article can be downloaded &lt;a href="http://www.silverlightshow.net/items/"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/Windows-8-and-the-future-of-XAML-Part-7-The-application-lifecycle-of-Windows-8-applications.aspx"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10341004" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/gill_2D00_cleeren/">gill-cleeren</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/General/">General</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Windows+8/">Windows 8</category></item><item><title>Silverlight Show: Connecting Windows 8 applications with services: Part 1: Using services to get data in our Windows 8 applications</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/08/17/silverlight-show-connecting-windows-8-applications-with-services-part-1-using-services-to-get-data-in-our-windows-8-applications.aspx</link><pubDate>Fri, 17 Aug 2012 15:54:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10341001</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10341001</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/08/17/silverlight-show-connecting-windows-8-applications-with-services-part-1-using-services-to-get-data-in-our-windows-8-applications.aspx#comments</comments><description>&lt;p&gt;Windows 8’s biggest novelty is without a doubt “Apps”. Microsoft is entering the world of apps and is for the first time introducing a “real marketplace”, named the Windows 8 Store where developers can publish, market and sell their applications. This new (for Microsoft developers at least) way of working requires in many views a change of mindset. We as developers are facing many new things, including a new application lifetime management, a new API (WinRT), a different type of communication between apps (Contracts), a new Start experience (Tiles) and many more. &lt;/p&gt;  &lt;p&gt;Since apps are going to be distributed through the means of a store, topics such as accessing data also requires some thought. In many views, accessing data through services is similar to accessing data in Silverlight applications. Although the principles are similar, the implementation tends to differ in many places.&lt;/p&gt;  &lt;p&gt;The apps we build need to give the user the feeling of being connected. When we’re building a stock ticker application, the app needs access to up-to-date data. An RSS reader would be pretty useless without access to RSS feeds. A LOB app may need access to a CRM data. Without being connected to (up-to-date) data, many apps can’t even execute their normal routine.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/Connecting-Windows-8-applications-with-services-Part-1-Using-services-to-get-data-in-our-Windows-8-applications.aspx"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10341001" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/gill_2D00_cleeren/">gill-cleeren</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/General/">General</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Windows+8/">Windows 8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Data+Access/">Data Access</category></item><item><title>Recording of Part 1 of the Webinar 'Advanced Windows 8 Metro' by Gill Cleeren</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/08/06/recording-of-part-1-of-the-webinar-advanced-windows-8-metro-by-gill-cleeren.aspx</link><pubDate>Mon, 06 Aug 2012 17:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331691</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331691</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/08/06/recording-of-part-1-of-the-webinar-advanced-windows-8-metro-by-gill-cleeren.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Watch a recording of Part 1 of the webinar '&lt;a href="http://www.silverlightshow.net/news/Upcoming-SilverlightShow-Webinar-Advanced-Windows-8-Metro.aspx"&gt;Advanced Windows 8 Metro&lt;/a&gt;' delivered by Silverlight MVP &lt;a href="http://www.snowball.be/"&gt;Gill Cleeren&lt;/a&gt; on July 18th, 2012. &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Download the slides (&lt;a href="http://www.silverlightshow.net/Storage/Sources/Advanced%20WinRT%20Part%201.ppt"&gt;.ppt&lt;/a&gt;/&lt;a href="http://www.silverlightshow.net/Storage/Sources/Advanced%20WinRT%20Part%201.pptx"&gt;.pptx&lt;/a&gt;) | Get the &lt;a href="http://cdn.silverlightshow.net/storage/SLShow%20-%20Advanced%20WinRT%20Part%201%20-%20Gill%20Cleeren.zip"&gt;demos&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;a href="https://www1.gotomeeting.com/register/214275904"&gt;Join part 2&lt;/a&gt; next Wednesday, July 25 at &lt;a href="http://timeanddate.com/worldclock/fixedtime.html?msg=SilverlightShow+webinar%3A+Advanced+Windows+8+Metro+-+Part+2&amp;amp;iso=20120725T10&amp;amp;p1=137&amp;amp;ah=1&amp;amp;am=15"&gt;10 am PST&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Webinar summary:&lt;/strong&gt; Windows 8 is just around the corner! As developers, we need to be ready to build Metro style applications. In the last couple of months, we got a lot of information already, although most of it covered the basics. It’s time to move beyond that.    &lt;br /&gt;This webinar picks up where the intro talks (&lt;a href="http://www.silverlightshow.net/webinars.aspx"&gt;see the recordings of earlier webinars on Windows 8&lt;/a&gt;) stopped, so expect coverage of topics you may have seen some content about or even none at all! &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/video/Advanced-WinRT-Webinar.aspx"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331691" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/samidip_2D00_basu/">samidip-basu</category></item><item><title>Windows 8 Metro Apps: The 8 Must-Know Tricks! Day 2</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/08/03/windows-8-metro-apps-the-8-must-know-tricks-day-2.aspx</link><pubDate>Fri, 03 Aug 2012 17:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331689</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331689</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/08/03/windows-8-metro-apps-the-8-must-know-tricks-day-2.aspx#comments</comments><description>&lt;p&gt;This is Day # 2 in the Windows 8 development article series on common tips &amp;amp; tricks towards developing real-world Metro apps.&amp;#160; Over the next several weeks, you’ll see 8 articles talk about some must-do things for Windows 8 Metro app developers. Simple &amp;amp; to the point, with some code examples on XAML/C# stack. Here’s the indexed list for the series:&lt;/p&gt;  &lt;h5&gt;&lt;a href="http://www.silverlightshow.net/items/Windows-8-Metro-Apps-The-8-Must-Know-Tricks-Day-1.aspx"&gt;Day 1: Know the ecosystem; Start&lt;/a&gt;    &lt;br /&gt;&lt;strong&gt;Day 2: Layout, Navigation &amp;amp; Visual States&lt;/strong&gt;    &lt;br /&gt;Day 3: Semantic Zoom     &lt;br /&gt;Day 4: Controls &amp;amp; Styling     &lt;br /&gt;Day 5: Search, Share &amp;amp; Settings Contracts     &lt;br /&gt;Day 6: Data Persistence &amp;amp; Application Life-Cycle Management     &lt;br /&gt;Day 7: Use of OData or Web Services     &lt;br /&gt;Day 8: Live Services integration&lt;/h5&gt;  &lt;h2&gt;Day 2: Layout, Navigation &amp;amp; Visual States&lt;/h2&gt;  &lt;p&gt;App Layout:&lt;/p&gt;  &lt;p&gt;So, you have the next big app idea. The real question is – will it delight the user? All Windows 8 Metro apps should and it is critically important to plan towards it. One curse for us developers is how easy it is to get started with an idea and go File-&amp;gt;New Project in Visual Studio. As the Metro design principles stated again &amp;amp; again, let’s sweat the details. Pen &amp;amp; paper can be a wonderful companion to plan out the overall application layout. How will you slice &amp;amp; dice your content? Is the app content going to laid out in an information hierarchy or in a flat system? How would the app support Metro design principles &amp;amp; integrate with the rest of the OS?&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/Nt9zze"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331689" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/samidip_2D00_basu/">samidip-basu</category></item><item><title>Windows 8 Metro Apps: The 8 Must-Know Tricks! Day 1</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/08/02/windows-8-metro-apps-the-8-must-know-tricks-day-1.aspx</link><pubDate>Thu, 02 Aug 2012 17:30:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331686</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331686</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/08/02/windows-8-metro-apps-the-8-must-know-tricks-day-1.aspx#comments</comments><description>&lt;p&gt;You’re at a chic coffee shop or on a plane.&amp;#160; Just like everyone around you, you have a tablet. Watch a movie, play a game, do the social stuff. And then while everyone starts getting bored, you flip part of your tablet and out comes a thin keyboard. May be you are also carrying your Arch Touch mouse .. your thin tablet is now transformed into a decent dev machine that’ll happily run Visual Studio for hours on battery. Non-developers get to use the desktop mode on Intel slates, thus bringing over all the productivity applications from a Windows 7 PC. All the while, the ‘Metro’ side of things stays very touch-friendly and superbly delightful for content consumption.&lt;/p&gt;  &lt;p&gt;That, is one of the promises of Windows 8 - the next iteration of the most popular computer OS. Be excited, as this is the biggest &amp;amp; boldest change in Windows since 95 and there is a lot in it for developers. If you are a .NET developer, the programming paradigms in Windows 8 Metro apps should be very interesting, with fragments of it boiling over to other .NET development. XAML devs should feel right at home, as should web folks with strong HTML/JS/CSS skills. Metro apps are fun to write, in my opinion, and there is a huge potential to make a name for yourself when the Windows Store opens with Windows 8.&lt;/p&gt;  &lt;p&gt;I have had the superb pleasure of working on several Windows 8 Enterprise LOB Metro apps for proof-of-concept, along with some very talented internal developers/designers. Unfortunately, that also means NDA and not being able to talk about stuff yet. But what I can do is share some coding experiences, since there is a decent learning curve.&amp;#160; I will try to keep the articles short for readability &amp;amp; jump into what you need to make your first Windows 8 Metro app.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/Nt8JT3"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331686" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/samidip_2D00_basu/">samidip-basu</category></item><item><title>Introduction to Windows 8 Metro Part 1: Ebook</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/08/01/introduction-to-windows-8-metro-part-1-ebook.aspx</link><pubDate>Wed, 01 Aug 2012 17:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331684</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331684</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/08/01/introduction-to-windows-8-metro-part-1-ebook.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;This ebook collects the first 7 parts of &lt;a href="http://www.silverlightshow.net/items/Windows-8-Metro-Create-your-apps-with-simplicity-in-mind.aspx"&gt;SilverlightShow article series 'Windows 8 Metro'&lt;/a&gt;, &lt;/strong&gt;&lt;strong&gt;together with source code. &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In this first part (2 more parts expected to be released, following the development of the series) Andrea introduces the basic concepts of Windows 8 development, and covers developing your first application, the application life-cycle, the new metro controls and more.&amp;#160; &lt;br /&gt;&lt;strong&gt;&lt;em&gt;From the author:&lt;/em&gt;&lt;/strong&gt; In the recent days an epocal change is becoming evident. If you tried to download the new Windows 8 Consumer Preview, available for free on Microsoft website, you know what I mean. The change, that is greatly focused on a new user experience, is driven by the growing power of portable devices that are becoming prevalent on common desktop and laptops. Up to the day before today, tablet PCs, smartphones, and generically speaking touch-enabled devices was expensive and not effective, but they are now something that common people start to take in serious consideration from the effectiveness perspective and also from the economical point of view.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/KY8M7H"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331684" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Recording of Webinar '10 Things Silverlight Developers Should Know About Windows 8' by Michael Crump</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/31/recording-of-webinar-10-things-silverlight-developers-should-know-about-windows-8-by-michael-crump.aspx</link><pubDate>Tue, 31 Jul 2012 17:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331681</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331681</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/31/recording-of-webinar-10-things-silverlight-developers-should-know-about-windows-8-by-michael-crump.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Watch a recording of the webinar '&lt;a href="http://www.silverlightshow.net/news/SilverlightShow-Webinar-10-Things-Silverlight-Developers-Should-Know-About-Windows-8.aspx"&gt;10 Things Silverlight Developers Should Know About Windows 8&lt;/a&gt;' delivered by Silverlight MVP &lt;a href="http://michaelcrump.net/"&gt;Michael Crump&lt;/a&gt; on July 3rd, 2012. &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;View the webinar slides (&lt;a href="http://www.silverlightshow.net/Storage/Webinar_10Things_Win8_slides.ppt"&gt;.ppt&lt;/a&gt; / &lt;a href="http://www.silverlightshow.net/Storage/Sources/Webinar_10Things_Win8_slides.pptx"&gt;.pptx&lt;/a&gt;) | Get &lt;a href="http://cdn.silverlightshow.net/storage/10Things_Webinar_Demos.zip"&gt;demos&lt;/a&gt; | Go to the &lt;a href="http://www.silverlightshow.net/Webinars/QandA_Win8_Metro_webinar.aspx"&gt;QandA page&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Webinar summary:&lt;/strong&gt; In this webinar Silverlight MVP Michael Crump will look at how Silverlight developers skills translate over to WinRT. He will dive straight into 10 things that he has discovered while working with WinRT. You will quickly find out just how much you will need to learn to work with this new platform.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/MOuMXU"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331681" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/webinar/">webinar</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/michael_2D00_crump/">michael-crump</category></item><item><title>Windows 8 Metro: Improve GridView and ListView with SemanticZoom and Incremental Loading</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/30/windows-8-metro-improve-gridview-and-listview-with-semanticzoom-and-incremental-loading.aspx</link><pubDate>Mon, 30 Jul 2012 17:24:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331678</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331678</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/30/windows-8-metro-improve-gridview-and-listview-with-semanticzoom-and-incremental-loading.aspx#comments</comments><description>&lt;p&gt;In the &lt;a href="http://www.silverlightshow.net/items/Windows-8-Metro-Dealing-with-new-metro-controls.aspx"&gt;previous article from this series&lt;/a&gt; I've explored the main controls that support the new user experience in metro style applications. GridView, ListView and FlipView are a big help to fully embrace the metro-styled experience and having a deep knowledge about their features is important to develop effective applications. In this number I would want to go for two advanced features I've skipped in the introduction. I'm referring to Semantic Zoom, that is the ability to coordinate the content of two controls to easily explore a collection, and to Incremental Loading that let you load items in chunks when they really need.&lt;/p&gt;  &lt;h2&gt;Introducing Semantic Zoom&lt;/h2&gt;  &lt;p&gt;When you think at zooming something, you probably recall to your mind how you zoom a map in google or bing, or probably how you zoom an image or a document. &lt;/p&gt;  &lt;p&gt;These kinds of zoom go under the name of &amp;quot;optical&amp;quot; zoom, because you are enlarging your optical view of an element as you were using a lens. If you think at a GridView, or also at a ListView, you easily understand that optical zoom cannot be applied just because it does have a real importance. What you can try to zoom instead, are the groups you defined for your view. In the case you have a number of items in your grid it may be difficult to scroll and scroll just to reach the item you are searching for, but probably you know what is the group it belongs to, so you can zoom out to the groups, select the group and then zoom in again to the items in the group. This is the so-called semantic zoom, a zoom that does not imply an optical enlargement but that is based on the semantic of your grouping. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/KY5Bgg"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331678" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/andrea_2D00_boschin/">andrea-boschin</category></item><item><title>Recording of Webinar 'Prism and WCF RIA Services' by Brian Noyes</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/27/recording-of-webinar-prism-and-wcf-ria-services-by-brian-noyes.aspx</link><pubDate>Fri, 27 Jul 2012 17:21:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331675</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331675</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/27/recording-of-webinar-prism-and-wcf-ria-services-by-brian-noyes.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Watch a recording of the webinar '&lt;a href="http://www.silverlightshow.net/news/Webinar-Prism-and-WCF-RIA-Services.aspx"&gt;Prism and WCF RIA Services - Two Great Toolkits That Work Great Together&lt;/a&gt;' delivered by Silverlight MVP &lt;a href="http://briannoyes.net/"&gt;Brian Noyes&lt;/a&gt; on May 30th, 2012. &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.silverlightshow.net/Storage/Sources/Prism%20and%20WCF%20RIA%20Services%20-%20Working%20Together.ppt"&gt;Download the slides&lt;/a&gt; | &lt;a href="http://cdn.silverlightshow.net/storage/Prism4ViewNavigationSample.zip"&gt;Get the demos&lt;/a&gt; | &lt;a href="http://www.silverlightshow.net/Webinars/QandA_Prism_webinar.aspx"&gt;Go to the Q&amp;amp;A page&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Webinar summary:&lt;/strong&gt; In this webinar Silverlight MVP Brian Noyes will give a quick overview of what Prism is and what its feature set includes. He'll do a very quick review of what WCF RIA Services does,and will focus on how you can build a Silverlight Prism application and factor your functionality into modules while still making the RIA Services functionality available in multiple modules. Attendees will find out how to leverage the Repository pattern to pull all the RIA Services client side code into one place, expose the data from a Repository service that you can then pull into any scope in the application that wants to consume it.    &lt;br /&gt;As usual, we had a free ebook giveaway for the attendees and tweeters of this webinar:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/Lintah"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331675" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/webinar/">webinar</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/wcf_2D00_ria_2D00_services/">wcf-ria-services</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/brian_2D00_noyes/">brian-noyes</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/prism/">prism</category></item><item><title>Windows 8 Metro: Asynchrony made easy</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/26/windows-8-metro-asynchrony-made-easy.aspx</link><pubDate>Thu, 26 Jul 2012 17:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331672</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331672</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/26/windows-8-metro-asynchrony-made-easy.aspx#comments</comments><description>&lt;p&gt;After the birth of Silverlight the developers have had to deal with asynchronous programming much more than before. The responsiveness of the user interface has always been an important matter and asynchronous programming has been the right response also before than Silverlight, in Windows Forms and WPF. But for the first time, Silverlight made a strict request by the framework to run a lot of tasks asynchronous. Due to architectural choices, all the calls to the network API had to be made in an async way, and this caused a number of headaches to developers that for the very first time couldn't forget about asynchronicity paying the price of a bad user experience.&lt;/p&gt;  &lt;p&gt;In metro-style applications, the concept of &amp;quot;make it asynchronous&amp;quot; is exploded to the extreme consequences. WinRT, the underlying wrapper for Windows API, request to run asynchronously most of the tasks, with the rule that, if it may run longer than 50 milliseconds, then it has to be asynchronous. Calling the network, using a device, grabbing a photo from the camera, all these actions are asynchronous in metro-style applications but, async is hidden also behind simpler tasks like opening a message box. &lt;/p&gt;  &lt;p&gt;All this surfeit of asynchronous, promises to make programmer's life a hell. Luckily, the .NET framework 4.5 introduces a set of tools to the rescue, making asynchronous simpler as drinking a glass of water. &lt;/p&gt;  &lt;h2&gt;The pitfall of asynchronous programming&lt;/h2&gt;  &lt;p&gt;Just before diving in the new asynchronous model in metro-style applications, it is required we make a step behind and remember why asynchronous is so boring to people. The problem here is matter of context. When you call a synchronous task, all your code runs in a unitary context so, after the task ended, you are in the same context and you can continue the work without any trouble. Differently, an asynchronous task requires a context switch, from a base flow that continues to run, to another flow for the spanned task. So when the asynchronous task ends, your original context has been lost. Let me make a practical example. Let say you have to call a web service to get the list of products for a specific season, and with the result you have to fill an existing Catalog instance; in a synchronous world you will write this code:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/JJ54Ot"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331672" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/andrea_2D00_boschin/">andrea-boschin</category></item><item><title>Creating SilverlightShow Windows Phone App: Ebook</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/25/creating-silverlightshow-windows-phone-app-ebook.aspx</link><pubDate>Wed, 25 Jul 2012 17:17:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331671</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331671</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/25/creating-silverlightshow-windows-phone-app-ebook.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;This e-book collects the 4 parts of SilverlightShow article series '&lt;a href="http://www.silverlightshow.net/items/Creating-the-SilverlightShow-Windows-Phone-App.aspx"&gt;Creating the SilverlightShow Windows Phone Application&lt;/a&gt;' authored by &lt;a href="http://www.pitorque.de/MisterGoodcat"&gt;Peter Kuhn&lt;/a&gt;&lt;/strong&gt;&lt;strong&gt;. &lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;From the author: &lt;/em&gt;At the end of February, the official SilverlightShow Windows Phone app has been accepted into the Marketplace. The app gives you access to some of the content of this website, including news, articles and events, and is completely free for use (also ad-free!). Some of the convenience features include the possibility to create reminders for upcoming events and webinars directly on your phone, to get notifications about new content in the form of live tiles, and to maintain a local list of favorites that allows you to permanently store items for later reading. If you haven’t checked out the app yet, you can find more details and a quick intro video &lt;a href="http://www.silverlightshow.net/video/SilverlightShow-WP7-App-Intro.aspx"&gt;here&lt;/a&gt;, or visit its Marketplace page &lt;a href="http://windowsphone.com/s?appid=aa47a1d4-3418-496d-862f-36eb1ec78f43"&gt;here&lt;/a&gt;.    &lt;br /&gt;The creation of the app was an interesting experience, because unlike other phone projects I had worked on in the past, this one wasn’t a greenfield development. Obviously the SilverlightShow portal already existed, had a long-established production infrastructure and already a lot of existing content available.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/J8EEpl"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331671" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Windows 8 Metro: Something about application lifecycle</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/24/windows-8-metro-something-about-application-lifecycle.aspx</link><pubDate>Tue, 24 Jul 2012 17:14:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331670</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331670</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/24/windows-8-metro-something-about-application-lifecycle.aspx#comments</comments><description>&lt;p&gt;Also if currently you are probably running Windows 8 on a virtual machine or luckily on a computer, there is not any doubt that this new operating system and especially the metro-style interface is dedicated to touch enabled devices like tablets. The plans of Microsoft infact include the new WOA keywork where the acronym stands for Windows On ARM that is the aim of making available this interface on a wide set of mobile devices that currently embrace this successful processor architecture. &lt;/p&gt;  &lt;p&gt;Running on a tablet does not only imply a different input interface like the touch screen, but also it requires a careful use of system resources that are not always large on this kind of device. This is the reason why metro-style applications have an application lifecycle that is mostly similar to the Windows Phone than of classical desktop apps.&lt;/p&gt;  &lt;h2&gt;It is matter of life or suspension&lt;/h2&gt;  &lt;p&gt;As a user, when you start a desktop application, you are exactly aware of the boundaries of its life. You click the icon and the application starts, then you use it and finally you hit the close button and the application closes. There are nothing behind this common process but you, as the final user, are responsible to decide how many applications runs at the same time so the management of system resources is completely up to you. Also if the previous sentence oversimplifies the matter, since behind the scenes the operating system manages system resources in an optimal way, if you continue to open a number of apps, at a given point you reach the maximum of resources available and you get an error.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/KFJfEs"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331670" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/andrea_2D00_boschin/">andrea-boschin</category></item><item><title>Windows 8 and the future of XAML Part 6: Tiles, toasts and badges</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/23/windows-8-and-the-future-of-xaml-part-6-tiles-toasts-and-badges.aspx</link><pubDate>Mon, 23 Jul 2012 17:07:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331664</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331664</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/23/windows-8-and-the-future-of-xaml-part-6-tiles-toasts-and-badges.aspx#comments</comments><description>&lt;p&gt;Welcome to part 6 already in this Windows 8 series. Since the goal of this articles is bringing you in touch with all the important aspects of Windows 8 development, we need to dive into tiles.&lt;/p&gt;  &lt;h5&gt;Tiles are therefore the main topic of this very article. If you’re coming from a Windows Phone 7 background, the concept of tiles is probably already familiar to you. However, Windows 8 brings quite a few new things to the table, including the concept of badges. Toasts are also covered here; conceptually, these already existed in Windows Phone 7 development as well but have been adapted for use in a Windows 8 environment. &lt;/h5&gt;  &lt;h2&gt;The concepts of tiles&lt;/h2&gt;  &lt;p&gt;In Windows 8, due to the new way application lifetime management, only one application can be running at any point in time (except when the user has two applications side-by-side using snap view; in that case, two applications are running at the same time). &lt;/p&gt;  &lt;p&gt;If not running, the application is suspended. We’ll cover the lifetime management in a coming article. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/Windows-8-and-the-future-of-XAML-Part-6-Tiles-toasts-and-badges.aspx"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331664" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/gill_2D00_cleeren/">gill-cleeren</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/toasts/">toasts</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/xaml/">xaml</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/badges/">badges</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/tiles/">tiles</category></item><item><title>Recording of Webinar 'Contracts and Charms in Windows 8' by Gill Cleeren</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/20/recording-of-webinar-contracts-and-charms-in-windows-8-by-gill-cleeren.aspx</link><pubDate>Fri, 20 Jul 2012 15:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331652</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331652</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/20/recording-of-webinar-contracts-and-charms-in-windows-8-by-gill-cleeren.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;Watch a recording of the webinar '&lt;a href="http://www.silverlightshow.net/news/Webinar-Contracts-and-Charms-in-Windows-8.aspx"&gt;Contracts and Charms in Windows 8&lt;/a&gt;' delivered by Silverlight MVP &lt;a href="http://www.snowball.be/"&gt;Gill Cleeren&lt;/a&gt; on April 24th, 2012.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;a href="http://www.silverlightshow.net/Storage/Sources/Contracts%20in%20Windows%208%20Templated.ppt"&gt;Download the slides&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Webinar summary:&lt;/strong&gt; In Windows 8 Metro, applications don’t communicate directly with each other. The OS has built-in contracts available out-of-the-box which make it possible that applications interact with each other without knowing each other. This way, one application can expose its own data for others to read. Another contract makes it possible to expose a common search functionality from within an application.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/K4Dqy7"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331652" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/gill_2D00_cleeren/">gill-cleeren</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/webinar/">webinar</category></item><item><title>Metro style applications – designing for the user</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/07/19/metro-style-applications-designing-for-the-user.aspx</link><pubDate>Thu, 19 Jul 2012 15:51:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10331633</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10331633</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/07/19/metro-style-applications-designing-for-the-user.aspx#comments</comments><description>&lt;p&gt;It has been months since Windows 8 is available for developers and the need for new applications is growing in a fast pace. &lt;/p&gt;  &lt;p&gt;And nothing is more exacting than a computer user in 21&lt;sup&gt;st&lt;/sup&gt; century. It’s quite difficult to build the &lt;em&gt;right&lt;/em&gt; application, moreover – it’s even more difficult to stay on top and not to be, metaphorically, stepped over by the big players. They always know what exactly the user wants and have the resources to provide it to him. But that’s not always what has to happen after all.&lt;/p&gt;  &lt;p&gt;You have the power to build what the user wants and even build it so that s/he would feel it so natural to use your Metro application. That is to design the application in a way that using the fingers on the display seems to be a pleasure, but not a challenge. &lt;/p&gt;  &lt;h2&gt;Okay, let’s make our Metro applications look great!&lt;/h2&gt;  &lt;p&gt;Designing the Metro application is different from designing the common and straightforward desktop application. Obviously, using fingers on touch instead of mouse cursor is a big difference. And the Metro style applications will soon become the mainstream. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-gb/library/windows/apps/hh700403"&gt;Here&lt;/a&gt; you can find design assets for creating great Metro application mock-ups. The download contains layered PhotoShop files representing common controls and components, project layouts and templates. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://cot.ag/K4D6iZ"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10331633" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/metro/">metro</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/windows_2D00_8/">windows-8</category><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/lazar_2D00_nikolov/">lazar-nikolov</category></item><item><title>Workaround for CA0055 Error with Silverlight Projects in Visual Studio 2010</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/04/18/workaround-for-ca0055-error-with-silverlight-projects-in-visual-studio-2010.aspx</link><pubDate>Wed, 18 Apr 2012 18:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10295053</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10295053</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/04/18/workaround-for-ca0055-error-with-silverlight-projects-in-visual-studio-2010.aspx#comments</comments><description>&lt;p&gt;&lt;a href="https://connect.microsoft.com/VisualStudio/feedback/details/713608/ca0055-silverlight5-business-application-project"&gt;This connect bug&lt;/a&gt; describes an issue with creating certain types of Silverlight projects in Visual Studio. If you're referencing Silverlight 4 DLLs from a Silverlight 5 project, you may run into this &lt;a href="http://msdn.microsoft.com/en-us/library/y8hcsad3(v=vs.80).aspx"&gt;code analysis/FXCop&lt;/a&gt; issue yourself if code analysis is part of your process. The core of the problem is a versioning decision in Silverlight 5 which results in compile-time violation due to loading two different versions of mscorlib in the same project. It manifests as the following error:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Error 2 CA0055 : Could not unify the platforms (mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, mscorlib, Version=5.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e) for 'MyProject.Silverlight\obj\Debug\MyProject.dll'.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;More &lt;a href="http://msdn.microsoft.com/en-us/library/ms244741.aspx"&gt;information on CA0055 may be found on MSDN&lt;/a&gt;.&lt;/p&gt;  &lt;h5&gt;How to Reproduce the Issue … in theory&lt;/h5&gt;  &lt;p&gt;In theory, all you need to do to reproduce the issue is reference a SL4-targeted DLL from an SL5 application. However, in practice, there are other factors in play. For example, it may matter which mscorlib version gets loaded first.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://10rem.net/blog/2012/04/17/workaround-for-ca0055-error-with-silverlight-projects-in-visual-studio-2010"&gt;Read more…&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10295053" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Windows Phone 7.5 - Using advanced tiles API</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/01/18/windows-phone-7-5-using-advanced-tiles-api.aspx</link><pubDate>Wed, 18 Jan 2012 15:43:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10258087</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10258087</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/01/18/windows-phone-7-5-using-advanced-tiles-api.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;by Andrea Boschin&lt;/em&gt; &lt;/p&gt;  &lt;p&gt;There is not any doubt, the first thing you meet when you use Windows Phone are the tiles. These are the large squares on the home screen that identifies some applications and they are also a distinguishable character that make your Windows Phone unique. &lt;/p&gt;  &lt;p&gt;As you know for sure, the tiles can be attached or detached from the home screen and some particular software can take advantage of double size tiles. While this is not a feature available to developers, in OS7.5, the tiles gained new features and a new set of APIs that you can use to enrich your applications. As an example you are now able to update your tiles from inside the application and you can use double faced tiles to improve information to the user. In this article I would like to explore these new features and show how to take advantage of them, while porting your software to the new operating system. &lt;/p&gt;  &lt;h2&gt;Accessing and changing your tile(s)&lt;/h2&gt;  &lt;p&gt;Once your application is running the user can have pinned its tile on the home screen. If this happened, you can have access to a bunch of tile's properties you can change at every time while the application is running, but please take note that it implies that the tile exists. Obviously, none of these APIs can work if your application is not pinned.&lt;/p&gt;  &lt;p&gt;The root of your work is the ShellTile class that gives you access to a collection of ActiveTiles. At the very first place in this collection there is a structure that represents the main tile of your application. Reading the previous paragraph, you can expect this collection is empty when you application has not been pinned, but it is not true. The collection always contains at least one element, and you can update it every time also if the application's tile is not in the home screen. This does not cause a visible change but if the user choose to pin the application at a later time its tile will reflect these changes. The ShellTile class returned by this collection contains an &amp;quot;Update&amp;quot; method that is useful to change the tile's content:&lt;/p&gt;  &lt;blockquote&gt;   &lt;pre&gt;   1: StandardTileData data = new StandardTileData&lt;/pre&gt;

  &lt;pre&gt;   2: {&lt;/pre&gt;

  &lt;pre&gt;   3:     Title = &amp;quot;My tile!&amp;quot;,&lt;/pre&gt;

  &lt;pre&gt;   4:     Count = 10,&lt;/pre&gt;

  &lt;pre&gt;   5:     BackgroundImage = new Uri(&amp;quot;/Background.png&amp;quot;, UriKind.RelativeOrAbsolute),&lt;/pre&gt;

  &lt;pre&gt;   6:     BackTitle = &amp;quot;This is the back&amp;quot;,&lt;/pre&gt;

  &lt;pre&gt;   7:     BackContent = &amp;quot;Hallo!&amp;quot;,&lt;/pre&gt;

  &lt;pre&gt;   8:     BackBackgroundImage = new Uri(&amp;quot;/Background.png&amp;quot;, UriKind.RelativeOrAbsolute)&lt;/pre&gt;

  &lt;pre&gt;   9: };&lt;/pre&gt;

  &lt;pre&gt;  10:  &lt;/pre&gt;

  &lt;pre&gt;  11: ShellTile.ActiveTiles.First().Update(data);&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;The properties of the StandardTileData class reflect the parts of the tile and are divided in two categories: Front and Back. So, we have a &amp;quot;Title&amp;quot; property that reflects the title of the tile on the front side and the &amp;quot;BackTitle&amp;quot; that has the same meaning for the back side. This led to the consideration that in OS 7.5, tiles can have two sides available. It suffice you set the value of one of the &amp;quot;Back&amp;quot; properties and the tile automatically activates the back side on a random schedule. &lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.silverlightshow.net/news/Free-Silverlight-Show-Webinar-Windows-Phone-7.5-Background-workers.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10258087" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Windows 8 and the future of XAML: Part 1: An overview of the Windows 8 platform</title><link>http://blogs.msdn.com/b/silverlight/archive/2012/01/12/windows-8-and-the-future-of-xaml-part-1-an-overview-of-the-windows-8-platform.aspx</link><pubDate>Thu, 12 Jan 2012 17:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10256007</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10256007</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2012/01/12/windows-8-and-the-future-of-xaml-part-1-an-overview-of-the-windows-8-platform.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;by Gill Cleeren&lt;/em&gt;&lt;/p&gt;  &lt;h2&gt;Introduction to the series&lt;/h2&gt;  &lt;p&gt;Welcome to this first part of a whole series on Windows 8 articles, which I’ll be writing over the coming weeks and months. It’s my goal in this series to introduce you to what we know at this point about Windows 8 and how we as (XAML) developers will need to adapt to the new platform. &lt;/p&gt;  &lt;p&gt;Since you’re probably a XAML developer like I am, we are going to see things from a XAML point-of-view. In some of the upcoming articles, I’m going to describe you how you can leverage what you already know in XAML when Windows 8 will be ready. I’m also going to spend time looking at how you can convert existing Silverlight applications to Windows 8 Metro apps, so that they follow the rules of the OS. We will also be spending time of course on digging into the developer framework making the development on Windows 8 easy: Windows Runtime or shorter, WinRT. Finally, the series will close with a step-by-step guide on building a complete Windows 8 Metro-style application. &lt;/p&gt;  &lt;p&gt;Now in this first part, we’ll focus on Windows 8 itself and the relation to Metro-style apps. We won’t be focusing on the development part yet; I just want to make sure that everyone is on board with the new OS itself as well as being able to place the terms Metro, Metro apps, WinRT etc.&lt;/p&gt;  &lt;p&gt;I hope you join me on this trip through the Windows platform of the future.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;Small note: in this articles, I try to refer to specific versions as little as possible, since I want the information to stay valid as much as humanly possible when Windows 8 will RTM. Therefore, you won’t find download links in these articles. Doing a small search will get you the downloads you need!&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h2&gt;Part 1: An overview of the Windows 8 platform&lt;/h2&gt;  &lt;p&gt;To be honest, I’m writing this very article in the morning of January 1st, 2012… yes indeed, New Year’s Day 2012. And come to think of it, I couldn’t have chosen a better moment - at the beginning of a new year - to write about one of the biggest things awaiting us in that new year: the launch of a new version of the world’s most widely used operating, Windows 8. (Note that at the time of writing of this article, no announcements have been made by Microsoft on any launch date of the OS, but everyone assumes that we’ll see the OS in its final form on our machines sometime in 2012…). As mentioned, in this first article, I will take you through the most important concepts as well as show you some nice improvements.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/Windows-8-and-the-future-of-XAML-Part-1-An-overview-of-the-Windows-8-platform.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10256007" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Silverlight Show: 10 Laps around Silverlight 5 (Part 10 of 10)</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/12/19/silverlight-show-10-laps-around-silverlight-5-part-10-of-10.aspx</link><pubDate>Mon, 19 Dec 2011 19:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10249317</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10249317</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/12/19/silverlight-show-10-laps-around-silverlight-5-part-10-of-10.aspx#comments</comments><description>&lt;p&gt;In this article, a discussion about several new features that did not fit in any of the above categories. We will discuss In-Browser HTML, PostScript and Tasks for TPL. Please review the Roadmap for the series before going any further.&lt;/p&gt;  &lt;h2&gt;The Roadmap for this Series&lt;/h2&gt;  &lt;p&gt;Included, the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked the following features as I thought that you may find them useful in your day-to-day work. If you want a specific topic covered then please leave it in the comments below.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/Silverlight-5-Part-1-of-10.aspx"&gt;Introduction to SL5 – provides a brief history of Silverlight and relevant links.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-2-of-10.aspx"&gt;Binding - Ancestor Relative Source Binding and Implicit Data Templates.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Graphics - XNA 3D API and Improved Graphics Stack.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Media - Low-Latency Sound using XNA and Remote Control and Media Command (Keys) Support.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/11/18/silverlight-show-10-laps-around-silverlight-5-part-5-of-10.aspx"&gt;Text - Text Tracking and Leading, Linked and Multi-column Text, OpenType Support, Pixel Snapped Text and TextOptions.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-6-of-10.aspx"&gt;Operating System Integration Part 1 - P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-7-of-10.aspx"&gt;Operating System Integration Part 2 - Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness.&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/12/02/silverlight-show-10-laps-around-silverlight-5-part-8-of-10.aspx"&gt;Productivity and Performance - XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time.&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/12/12/silverlight-show-10-laps-around-silverlight-5-part-9-of-10.aspx"&gt;Controls - Double and Triple click support, PivotViewer and ComboBox Type-Ahead.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Other items - [This Post] - In-Browser HTML, PostScript and Tasks for TPL.&lt;/strong&gt; &lt;/li&gt; &lt;/ol&gt;  &lt;h2&gt;In-Browser HTML&lt;/h2&gt;  &lt;p&gt;In Silverlight 4, we could use the WebBrowser control only in an “Out-of-Browser” application. This has changed in Silverlight 5 as we can now use the WebBrowser control in the browser (IE). It will however require that you make a few changes to your system. Let’s get started: &lt;/p&gt;  &lt;p&gt;1)&lt;strong&gt; Update the registry&lt;/strong&gt; – Locate the following keys:&lt;/p&gt;  &lt;p&gt;If you running on a 32 bit machine, &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\Software\Microsoft\Silverlight\&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;and if you are running on a 64-bit machine, &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Silverlight\&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;change the &lt;strong&gt;UpdateConsentMode&lt;/strong&gt; from a 0 to 1. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/Storage/Users/mbcrump/________1_2.png"&gt;&lt;img title="1" alt="1" src="http://www.silverlightshow.net/Storage/Users/mbcrump/________1_thumb.png" width="627" height="282" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;2) &lt;strong&gt;Sign the XAP File&lt;/strong&gt; - Right click on the Silverlight application and go to properties. Choose &lt;strong&gt;Signing&lt;/strong&gt; and check the checkbox&lt;strong&gt; Sign the .XAP file&lt;/strong&gt;. Now click on the button &lt;strong&gt;Create Test Certificate&lt;/strong&gt;. Enter any password that you want and hit the OK button. Now click on the &lt;strong&gt;More Details&lt;/strong&gt; button.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/Storage/Users/mbcrump/__________2_2.png"&gt;&lt;img title="2" alt="2" src="http://www.silverlightshow.net/Storage/Users/mbcrump/__________2_thumb.png" width="544" height="350" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Click on the &lt;strong&gt;Install Certificate&lt;/strong&gt; button. Clicking on the button brings up the &lt;strong&gt;Certificate Import wizard&lt;/strong&gt;. Click on the &lt;strong&gt;Next&lt;/strong&gt; button and choose Place all certificates in the following store. Click on the Browse button. This will show you a Certificate Store. Choose &lt;strong&gt;Trusted Publisher&lt;/strong&gt; and finish the wizard. Now repeat the same step to install this certificate in &lt;strong&gt;Trusted Root Certification Authorities&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/Storage/Users/mbcrump/3_4.png"&gt;&lt;img title="3" alt="3" src="http://www.silverlightshow.net/Storage/Users/mbcrump/3_thumb_1.png" width="486" height="442" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;3) &lt;strong&gt;Enable Out-of-Browser and Require elevated trust when running in-browser.&lt;/strong&gt; Right click on the Silverlight application and go to properties. Place a checkmark in &lt;strong&gt;Enable Out-of-Browser&lt;/strong&gt; and &lt;strong&gt;Require elevated trust when running in-browser.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/Storage/Users/mbcrump/________4_2.png"&gt;&lt;img title="4" alt="4" src="http://www.silverlightshow.net/Storage/Users/mbcrump/________4_thumb.png" width="573" height="464" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now let’s switch over to the MainPage.xaml and replace the Grid with the following code:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-10-of-10.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10249317" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>New Silverlight Show articles: Windows 8 XAML Metro Apps with OData</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/12/15/new-silverlight-show-articles-windows-8-xaml-metro-apps-with-odata.aspx</link><pubDate>Thu, 15 Dec 2011 17:33:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10248191</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10248191</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/12/15/new-silverlight-show-articles-windows-8-xaml-metro-apps-with-odata.aspx#comments</comments><description>&lt;p&gt;Silverlight Show has two new articles that provide some really interesting info about building Windows 8 XAML Metro Apps with OData written by Samidip Basu (&lt;a href="https://enterprise.cotweet.com/samidip"&gt;@samidip&lt;/a&gt;). &lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;a href="http://cot.ag/u6s0oc"&gt;Windows 8 XAML Metro Apps with OData - Part 1&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://cot.ag/v8DZdA"&gt;Windows 8 XAML Metro Apps with OData - Part 2&lt;/a&gt; &lt;/li&gt; &lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10248191" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Silverlight Show: 10 Laps around Silverlight 5 (Part 9 of 10)</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/12/12/silverlight-show-10-laps-around-silverlight-5-part-9-of-10.aspx</link><pubDate>Mon, 12 Dec 2011 16:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10246805</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10246805</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/12/12/silverlight-show-10-laps-around-silverlight-5-part-9-of-10.aspx#comments</comments><description>&lt;p&gt;In this article, a discussion of several new features/controls such as Double and Triple click support, PivotViewer and ComboBox Type-Ahead. Please review the Roadmap for the series before going any further.&lt;/p&gt;  &lt;h2&gt;The Roadmap for this Series&lt;/h2&gt;  &lt;p&gt;Included, the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked the following features as I thought that you may find them useful in your day-to-day work. If you want a specific topic covered then please leave it in the comments below.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/Silverlight-5-Part-1-of-10.aspx"&gt;Introduction to SL5 – provides a brief history of Silverlight and relevant links.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-2-of-10.aspx"&gt;Binding - Ancestor Relative Source Binding and Implicit Data Templates.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Graphics - XNA 3D API and Improved Graphics Stack.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Media - Low-Latency Sound using XNA and Remote Control and Media Command (Keys) Support.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/11/18/silverlight-show-10-laps-around-silverlight-5-part-5-of-10.aspx"&gt;Text - Text Tracking and Leading, Linked and Multi-column Text, OpenType Support, Pixel Snapped Text and TextOptions.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-6-of-10.aspx"&gt;Operating System Integration Part 1 - P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-7-of-10.aspx"&gt;Operating System Integration Part 2 - Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness.&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/12/02/silverlight-show-10-laps-around-silverlight-5-part-8-of-10.aspx"&gt;Productivity and Performance - XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time.&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Controls - [This Post] - Double and Triple click support, PivotViewer and ComboBox Type-Ahead.&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Other items - In-Browser HTML, PostScript and Tasks for TPL &lt;/li&gt; &lt;/ol&gt;  &lt;h2&gt;Double and Triple Click Support&lt;/h2&gt;  &lt;p&gt;One of the new features in Silverlight 5 is the ability to use Double and Triple Click Support. This functionality will tell you how many times the user has clicked the mouse button. The property is called &lt;strong&gt;ClickCount&lt;/strong&gt; and resides in the &lt;strong&gt;MouseButtonEventArgs&lt;/strong&gt; class. Let’s take a look at how to use this new feature.&lt;/p&gt;  &lt;p&gt;Fire up a new Silverlight 5 project and give it any name that you want. &lt;/p&gt;  &lt;p&gt;Switch over to the MainPage.xaml.cs and add the following code:&lt;em&gt; (Note: You may not need the MainPage() Method section)&lt;/em&gt;&lt;/p&gt;  &lt;pre&gt;   1: public MainPage()&lt;/pre&gt;

&lt;pre&gt;   2: {&lt;/pre&gt;

&lt;pre&gt;   3:     InitializeComponent();&lt;/pre&gt;

&lt;pre&gt;   4: }&lt;/pre&gt;

&lt;pre&gt;   5:  &lt;/pre&gt;

&lt;pre&gt;   6: private void textBlock1_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)&lt;/pre&gt;

&lt;pre&gt;   7: {&lt;/pre&gt;

&lt;pre&gt;   8:     textBlock1.Text = e.ClickCount.ToString();&lt;/pre&gt;

&lt;pre&gt;   9: }&lt;/pre&gt;

&lt;p&gt;Switch back over to the MainPage.xaml and add in the following code replacing the current Grid:&lt;/p&gt;

&lt;pre&gt;   1: &amp;lt;Grid x:Name=&amp;quot;LayoutRoot&amp;quot; Background=&amp;quot;White&amp;quot;&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   2:       &amp;lt;Border BorderBrush=&amp;quot;Black&amp;quot; BorderThickness=&amp;quot;1&amp;quot; Margin=&amp;quot;52,49,68,74&amp;quot; CornerRadius=&amp;quot;10&amp;quot;&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   3:           &amp;lt;TextBlock Height=&amp;quot;152&amp;quot; HorizontalAlignment=&amp;quot;Center&amp;quot; x:Name=&amp;quot;textBlock1&amp;quot; Text=&amp;quot;0&amp;quot; VerticalAlignment=&amp;quot;Center&amp;quot; Width=&amp;quot;244&amp;quot; MouseLeftButtonDown=&amp;quot;textBlock1_MouseLeftButtonDown&amp;quot; Foreground=&amp;quot;#FFFF2E2E&amp;quot; FontSize=&amp;quot;96&amp;quot; TextAlignment=&amp;quot;Center&amp;quot; /&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   4:       &amp;lt;/Border&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   5: &amp;lt;/Grid&amp;gt;&lt;/pre&gt;

&lt;p&gt;If we go ahead and run the application then we will see the following application. &lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.silverlightshow.net/Storage/Users/mbcrump/SNAGHTMLf7d6db1.png"&gt;&lt;img title="SNAGHTMLf7d6db1" alt="SNAGHTMLf7d6db1" src="http://www.silverlightshow.net/Storage/Users/mbcrump/SNAGHTMLf7d6db1_thumb.png" width="304" height="268" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go ahead and begin clicking inside of the border and you will see the number increase. If you wait a few seconds and click again then you will notice that it reset itself. You could easily add If..Then… statements to determine what click count number they are on. This may be helpful for a 35 click Easter egg. :) &lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-9-of-10.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10246805" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Silverlight 5 Available for Download Today</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/12/09/silverlight-5-available-for-download-today.aspx</link><pubDate>Fri, 09 Dec 2011 19:54:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10246176</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10246176</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/12/09/silverlight-5-available-for-download-today.aspx#comments</comments><description>&lt;p&gt;Today, we’re happy to announce the release of Silverlight 5. Silverlight is part of a rich offering of technologies from Microsoft helping developers deliver applications for the web, desktop and mobile devices. &lt;a href="http://go.microsoft.com/fwlink/?LinkId=149156"&gt;Download Silverlight 5&lt;/a&gt;, a free plug-in less than 7 MB in size that can be installed in less than 10 seconds.&lt;/p&gt;  &lt;p&gt;New features in Silverlight 5 include Hardware Decode of H.264 media, which provides a significant performance improvement with decoding of unprotected content using the GPU; Postscript Vector Printing to improve output quality and file size; and an improved graphics stack with 3D support that uses the XNA API on the Windows platform to gain low-level access to the GPU for drawing vertex shaders and low-level 3D primitives. &lt;/p&gt;  &lt;p&gt;In addition, Silverlight 5 extends the ‘Trusted Application’ model to the browser for the first time. These features, when enabled via a group policy registry key and an application certificate, mean users won’t need to leave the browser to perform complex tasks such as multiple window support, full trust support in browser including COM and file system access, in browser HTML hosting within Silverlight, and P/Invoke support for existing native code to be run directly from Silverlight.&lt;/p&gt;  &lt;p&gt;For more information, visit the &lt;a href="http://www.microsoft.com/silverlight/"&gt;Microsoft Silverlight site&lt;/a&gt;. For additional information on support policy, visit &lt;a href="http://support.microsoft.com/gp/lifean45"&gt;Microsoft Silverlight Support Lifecycle Policy&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;The Silverlight Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10246176" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Announcement/">Announcement</category></item><item><title>Silverlight Show: 10 Laps around Silverlight 5 (Part 8 of 10)</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/12/02/silverlight-show-10-laps-around-silverlight-5-part-8-of-10.aspx</link><pubDate>Fri, 02 Dec 2011 16:24:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10243759</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10243759</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/12/02/silverlight-show-10-laps-around-silverlight-5-part-8-of-10.aspx#comments</comments><description>&lt;p&gt;In this article, a discussion about productivity and performance enhancements in Silverlight 5 including: XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time. Please review the Roadmap for the series before going any further.&lt;/p&gt;  &lt;h2&gt;The Roadmap for this Series&lt;/h2&gt;  &lt;p&gt;Included, the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked the following features as I thought that you may find them useful in your day-to-day work. If you want a specific topic covered then please leave it in the comments below.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/Silverlight-5-Part-1-of-10.aspx"&gt;Introduction to SL5 – provides a brief history of Silverlight and relevant links.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-2-of-10.aspx"&gt;Binding - Ancestor Relative Source Binding and Implicit Data Templates.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Graphics - XNA 3D API and Improved Graphics Stack.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Media - Low-Latency Sound using XNA and Remote Control and Media Command (Keys) Support.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/11/18/silverlight-show-10-laps-around-silverlight-5-part-5-of-10.aspx"&gt;Text - Text Tracking and Leading, Linked and Multi-column Text, OpenType Support, Pixel Snapped Text and TextOptions.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-6-of-10.aspx"&gt;Operating System Integration Part 1 - P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-7-of-10.aspx"&gt;Operating System Integration Part 2 - Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness.&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Productivity and Performance - [This Post] - XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time. &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Controls - Double and Triple click support, PivotViewer and ComboBox Type-Ahead. &lt;/li&gt;    &lt;li&gt;Other items - In-Browser HTML, PostScript and Tasks for TPL&lt;/li&gt; &lt;/ol&gt;  &lt;h2&gt;XAML Binding Debugging&lt;/h2&gt;  &lt;p&gt;XAML Binding Debugging, is one of the most important features in the Silverlight 5. We have all been stuck with Binding expressions at one point or another and wanted an easier way to debug them. Now anywhere that you see a {&lt;strong&gt;Binding&lt;/strong&gt;} expression you can put a break point on it just like your typical C# code. Let’s take a look at a sample:&lt;/p&gt;  &lt;p&gt;Fire up a new Silverlight 5 project and give it any name that you want. &lt;/p&gt;  &lt;p&gt;Go ahead and add a new class to the project named &lt;strong&gt;Podcast.cs&lt;/strong&gt; and add the following code.&lt;/p&gt;  &lt;pre&gt;   1: public class Podcast&lt;/pre&gt;

&lt;pre&gt;   2:    {&lt;/pre&gt;

&lt;pre&gt;   3:        public string Description { get; set; }&lt;/pre&gt;

&lt;pre&gt;   4:        public DateTime ReleaseDate { get; set; }&lt;/pre&gt;

&lt;pre&gt;   5:        public Uri Link { get; set; }&lt;/pre&gt;

&lt;pre&gt;   6:  &lt;/pre&gt;

&lt;pre&gt;   7:        public Podcast(string description, DateTime releasedate, Uri link)&lt;/pre&gt;

&lt;pre&gt;   8:        {&lt;/pre&gt;

&lt;pre&gt;   9:            Description = description;&lt;/pre&gt;

&lt;pre&gt;  10:            ReleaseDate = releasedate;&lt;/pre&gt;

&lt;pre&gt;  11:            Link = link;&lt;/pre&gt;

&lt;pre&gt;  12:        }&lt;/pre&gt;

&lt;pre&gt;  13:    }&lt;/pre&gt;

&lt;p&gt;Let’s switch back over to the MainPage.xaml.cs and add the following code:&lt;/p&gt;

&lt;pre&gt;   1: public MainPage()&lt;/pre&gt;

&lt;pre&gt;   2: {&lt;/pre&gt;

&lt;pre&gt;   3:     InitializeComponent();&lt;/pre&gt;

&lt;pre&gt;   4:     Loaded += new RoutedEventHandler(MainPage_Loaded);&lt;/pre&gt;

&lt;pre&gt;   5: }&lt;/pre&gt;

&lt;pre&gt;   6:  &lt;/pre&gt;

&lt;pre&gt;   7: void MainPage_Loaded(object sender, RoutedEventArgs e)&lt;/pre&gt;

&lt;pre&gt;   8: {&lt;/pre&gt;

&lt;pre&gt;   9:     this.DataContext =&lt;/pre&gt;

&lt;pre&gt;  10:         new Podcast(&amp;quot;This Developer's Life - Criticism&amp;quot;,&lt;/pre&gt;

&lt;pre&gt;  11:             new DateTime(2011, 4, 21),&lt;/pre&gt;

&lt;pre&gt;  12:             new Uri(&amp;quot;http://thisdeveloperslife.com/post/2-0-1-criticism&amp;quot;, UriKind.Absolute)&lt;/pre&gt;

&lt;pre&gt;  13:             );&lt;/pre&gt;

&lt;pre&gt;  14:  &lt;/pre&gt;

&lt;pre&gt;  15: }&lt;/pre&gt;

&lt;p&gt;Switch back over to the MainPage.xaml and add in the following code replacing the current Grid:&lt;/p&gt;

&lt;pre&gt;   1: &amp;lt;Grid x:Name=&amp;quot;LayoutRoot&amp;quot; Background=&amp;quot;White&amp;quot;&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   2:        &amp;lt;StackPanel Orientation=&amp;quot;Vertical&amp;quot;&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   3:            &amp;lt;TextBlock Text=&amp;quot;{Binding Description}&amp;quot; /&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   4:            &amp;lt;TextBlock Name=&amp;quot;txtReleaseDate&amp;quot; Text=&amp;quot;{Binding ReleaseDate}&amp;quot; /&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   5:            &amp;lt;HyperlinkButton Content=&amp;quot;Listen to this Episode&amp;quot; NavigateUri=&amp;quot;{Binding Lik}&amp;quot; TargetName=&amp;quot;_blank&amp;quot; /&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   6:        &amp;lt;/StackPanel&amp;gt;&lt;/pre&gt;

&lt;pre&gt;   7: &amp;lt;/Grid&amp;gt;&lt;/pre&gt;

&lt;p&gt;While here, go ahead and put a break point on the “Hyperlink&amp;quot; button line, which you can do by clicking outside its margin as shown below:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.silverlightshow.net/Storage/Users/mbcrump/_______1_2.png"&gt;&lt;img title="1" alt="1" src="http://www.silverlightshow.net/Storage/Users/mbcrump/_______1_thumb.png" width="596" height="199" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice the Red Circle and the highlighted “&lt;strong&gt;Binding&lt;/strong&gt;” word? The Visual Studio 2010 debugger will stop once the XAML parser hits that line. &lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-8-of-10.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10243759" width="1" height="1"&gt;</description></item><item><title>Silverlight Show: 10 Laps around Silverlight 5 (Part 7 of 10)</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/11/25/silverlight-show-10-laps-around-silverlight-5-part-7-of-10.aspx</link><pubDate>Fri, 25 Nov 2011 17:19:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10241593</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10241593</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/11/25/silverlight-show-10-laps-around-silverlight-5-part-7-of-10.aspx#comments</comments><description>&lt;p&gt;In this article, a discussion of a few more operating system integration features in Silverlight 5 including: Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness for Media Applications. Please review the Roadmap for the series before going any further.&lt;/p&gt;  &lt;h2&gt;The Roadmap for this Series&lt;/h2&gt;  &lt;p&gt;Included, the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked the following features as I thought that you may find them useful in your day-to-day work. If you want a specific topic covered then please leave it in the comments below.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/Silverlight-5-Part-1-of-10.aspx"&gt;Introduction to SL5 – provides a brief history of Silverlight and relevant links.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-2-of-10.aspx"&gt;Binding - Ancestor Relative Source Binding and Implicit Data Templates.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Graphics - XNA 3D API and Improved Graphics Stack.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Media - Low-Latency Sound using XNA and Remote Control and Media Command (Keys) Support.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/11/18/silverlight-show-10-laps-around-silverlight-5-part-5-of-10.aspx"&gt;Text - Text Tracking and Leading, Linked and Multi-column Text, OpenType Support, Pixel Snapped Text and TextOptions.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-6-of-10.aspx"&gt;Operating System Integration Part 1 - P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Operating System Integration Part 2 - [This Post] - Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness. &lt;/strong&gt;&lt;/li&gt;    &lt;li&gt;Productivity and Performance - XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time. &lt;/li&gt;    &lt;li&gt;Controls - Double and Triple click support, PivotViewer and ComboBox Type-Ahead. &lt;/li&gt;    &lt;li&gt;Other items - In-Browser HTML, PostScript and Tasks for TPL. &lt;/li&gt; &lt;/ol&gt;  &lt;h2&gt;Default Filename for SaveFileDialog&lt;/h2&gt;  &lt;p&gt;In previous version of Silverlight, you could not specify the default filename for the SaveFileDialog message. In Silverlight 5 you can very easily. &lt;/p&gt;  &lt;p&gt;Fire up a new Silverlight 5 project and give it any name that you want. We are going to create a simple application that contains one button and when the user clicks it the SaveFileDialog will appear with a default filename. &lt;/p&gt;  &lt;p&gt;Switch over to the MainPage.xaml and add in the following code:&lt;/p&gt;  &lt;blockquote&gt;   &lt;pre&gt;   1: &amp;lt;StackPanel HorizontalAlignment=&amp;quot;Center&amp;quot; VerticalAlignment=&amp;quot;Center&amp;quot;&amp;gt;&lt;/pre&gt;

  &lt;pre&gt;   2:         &amp;lt;Button x:Name=&amp;quot;btnSaveFile&amp;quot; Content=&amp;quot;Save File Dialog&amp;quot; Click=&amp;quot;btnSaveFile_Click&amp;quot;/&amp;gt;&lt;/pre&gt;

  &lt;pre&gt;   3: &amp;lt;/StackPanel&amp;gt;&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;Let’s switch back over to the MainPage.xaml.cs and add the following code to our button event handler:&lt;/p&gt;

&lt;blockquote&gt;
  &lt;pre&gt;   1: private void btnSaveFile_Click(object sender, RoutedEventArgs e)&lt;/pre&gt;

  &lt;pre&gt;   2:        {&lt;/pre&gt;

  &lt;pre&gt;   3:            var saveFileDialog1 = new SaveFileDialog&lt;/pre&gt;

  &lt;pre&gt;   4:                                      {&lt;/pre&gt;

  &lt;pre&gt;   5:                                          Filter = &amp;quot;JPeg Image|*.jpg|Bitmap Image|*.bmp|Gif Image|*.gif&amp;quot;,&lt;/pre&gt;

  &lt;pre&gt;   6:                                          DefaultFileName = &amp;quot;YouCanNowHaveADefaultFileName.jpeg&amp;quot;&lt;/pre&gt;

  &lt;pre&gt;   7:                                      };&lt;/pre&gt;

  &lt;pre&gt;   8:            saveFileDialog1.ShowDialog();&lt;/pre&gt;

  &lt;pre&gt;   9:        }&lt;/pre&gt;
&lt;/blockquote&gt;

&lt;p&gt;If we run the application now, we will see the following prompt. &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-7-of-10.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10241593" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item><item><title>Silverlight Show: 10 Laps around Silverlight 5 (Part 6 of 10)</title><link>http://blogs.msdn.com/b/silverlight/archive/2011/11/23/silverlight-show-10-laps-around-silverlight-5-part-6-of-10.aspx</link><pubDate>Wed, 23 Nov 2011 16:12:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10240966</guid><dc:creator>Silverlight Team</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/silverlight/rsscomments.aspx?WeblogPostID=10240966</wfw:commentRss><comments>http://blogs.msdn.com/b/silverlight/archive/2011/11/23/silverlight-show-10-laps-around-silverlight-5-part-6-of-10.aspx#comments</comments><description>&lt;p&gt;In this article, a discussion of several new operating system integration features in Silverlight 5 including: P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust. Please review the Roadmap for the series before going any further.&lt;/p&gt;  &lt;h2&gt;The Roadmap for this Series&lt;/h2&gt;  &lt;p&gt;Included, the Roadmap for the series below as you may want to visit other sections as you learn Silverlight 5. I picked the following features as I thought that you may find them useful in your day-to-day work. If you want a specific topic covered then please leave it in the comments below.&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/Silverlight-5-Part-1-of-10.aspx"&gt;Introduction to SL5 – provides a brief history of Silverlight and relevant links.&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-2-of-10.aspx"&gt;Binding - Ancestor Relative Source Binding and Implicit Data Templates.&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Graphics - XNA 3D API and Improved Graphics Stack.&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-4-of-10.aspx"&gt;Media - Low-Latency Sound using XNA and Remote Control and Media Command (Keys) Support.&lt;/a&gt;&lt;/li&gt;    &lt;li&gt;&lt;a href="http://blogs.msdn.com/b/silverlight/archive/2011/11/18/silverlight-show-10-laps-around-silverlight-5-part-5-of-10.aspx"&gt;Text - Text Tracking and Leading, Linked and Multi-column Text, OpenType Support, Pixel Snapped Text and TextOptions.&lt;/a&gt; &lt;/li&gt;    &lt;li&gt;&lt;strong&gt;Operating System Integration Part 1 - [This Post] - P/Invoke, Multiple Windows and Unrestricted File System Access in Full Trust.&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Operating System Integration Part 2 - Default Filename for SaveFileDialog, 64-bit browser support and Power Awareness. &lt;/li&gt;    &lt;li&gt;Productivity and Performance - XAML Binding Debugging, Parser Performance Improvements and Multi-core JIT for improved start-up time. &lt;/li&gt;    &lt;li&gt;Controls - Double and Triple click support, PivotViewer and ComboBox Type-Ahead. &lt;/li&gt;    &lt;li&gt;Other items - In-Browser HTML, PostScript and Tasks for TPL. &lt;/li&gt; &lt;/ol&gt;  &lt;h2&gt;P/Invoke or Platform Invocation&lt;/h2&gt;  &lt;p&gt;Before we dive into an example. Let’s first answer the question, What is it? &lt;strong&gt;Platform Invocation Services&lt;/strong&gt;, commonly referred to as &lt;strong&gt;P/Invoke&lt;/strong&gt;, is a feature of &lt;a href="http://en.wikipedia.org/wiki/Common_Language_Infrastructure"&gt;Common Language Infrastructure&lt;/a&gt; implementations, like &lt;a href="http://en.wikipedia.org/wiki/Microsoft"&gt;Microsoft&lt;/a&gt;'s &lt;a href="http://en.wikipedia.org/wiki/Common_Language_Runtime"&gt;Common Language Runtime&lt;/a&gt;, that enables &lt;a href="http://en.wikipedia.org/wiki/Managed_code"&gt;managed code&lt;/a&gt; to call &lt;a href="http://en.wikipedia.org/wiki/Native_code"&gt;native code&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;*Reference to Wiki&lt;/p&gt;  &lt;p&gt;This feature is new to Silverlight 5 and we will take a look at how to use it in your own applications. &lt;/p&gt;  &lt;p&gt;In order to create a new P/Invoke application in Silverlight 5, we will need to enable “&lt;strong&gt;Require elevated trust&lt;/strong&gt;” in Silverlight 5. We can also use the functionality in-browser or out-of-browser. Let’s begin. &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.silverlightshow.net/items/10-Laps-around-Silverlight-5-Part-6-of-10.aspx"&gt;Read the full post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10240966" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/silverlight/archive/tags/Tips+and+Training/">Tips and Training</category></item></channel></rss>