Top 10 Best Features in Silverlight 5

In this article we will explore the new features and enhancements in Silverlight 5. As of this writing, Silverlight 5 has been released. To execute the code examples illustrated in this article, you should have the following installed in your system:

  • Visual Studio 2010
  • Silverlight 5 SDK
  • Silverlight 5 Tools

What is Silverlight?

Silverlight is a browser plug-in that promotes a collaborative development environment of rich online media content that enables developers and designers alike to integrate multimedia and graphics into web pages within the context of the managed environment. Over the past few years, Silverlight, formerly known as Windows Presentation Foundation Everywhere (WPF/E), has become popular worldwide for developing the next generation of cross-browser, cross-platform Rich Internet Applications (RIAs). As of this writing, Silverlight 5 has been released.

Top 10 Best Features in Silverlight 5

In this section we will explore 10 of the best new features and enhancements in Silverlight 5.

Multiple Click Count

This is a feature that enables you to count the number of clicks that have occurred on the left and right mouse button. Here is an example:

private void OnMouseDownClickCount(object sender, MouseButtonEventArgs e)
    {
        // Checks the number of clicks.
        if (e.ClickCount == 1)
        {
            // Single click
        }
        if (e.ClickCount == 2)
        {
            // Double Click
        }
        if (e.ClickCount >= 3)
        {
            // Triple Click
        }
    }

Debugging XAML Code

This is a great new feature that enables you to break into and debug your XAML code.

Rich 3D API

Silverlight 5 provides a rich 3 D API that enables you to design and develop applications with initiative user interfaces. The in-built XNA #D graphics API facilitates development of rich, GPU accelerated graphical interfaces. The Silverlight Toolkit includes support for client and server side content project and XNA content processing pipeline support. Silverlight includes XNA Effect support. Note that 3D support in Silverlight is available both in-browser and out-of-browser.

Low-Latency Sound Effects in Silverlight 5

To create low latency sound effects in Silverlight earlier, we have had to create a circular queue of Media Elements that could hold those sound effects and then we also had to write code for buffering. With Silverlight 5, you no longer need to go for such hastles - you can leverage the Xna SoundEffect and SoundEffectInstance classes that provide support for very low latency playback. These classes also can understand wav files.

Performance Improvements in Silverlight 5

The notable performance improvements in Silverlight 5 include improved XAML parse times, improved network latency in ClientHttpWebRequest scenarios, improved hardware accelerated graphics, and reduced start-up time of Silverlight applications using Multicore JIT and 64-bit browser support.

Improved Support for RIA Services

WCF RIA Services were introduced in .NET Framework 4 and Silverlight 4 to allow developers to build applications without the need for service plumbing to push or pull data from the client side. Silverlight 5 provides better support for consuming RIA Services. It provides enhanced MVVM support and better support for customization of generated code.

Improved Support Text and Printing

Silverlight 5 provides excellent support for cleaner text rendering and vector based printing.

Out-of-Browser Improvements

Silverlight 5 provides better support for Out-Of-Browser and LOB applications. Now, trusted out of browser applications in Silverlight can create native operating system windows.

Improved and Flexible Data Binding

Silverlight 5 now provides improved support for data binding through Implicit DataTemplates. This implies that you can specify a DataTemplate for a particular type of binding.

Trick Play Video

The new TrickPlay feature in Silverlight 5 enables you to speed up or slow down the speed at which you are viewing a video without the chipmunk voices. This is a great feature indeed!

Suggested Readings

http://www.microsoft.com/silverlight/

http://www.silverlight.net/learn/overview/what's-new-in-silverlight-5

http://timheuer.com/blog/archive/2011/04/13/whats-new-in-silverlight-5-a-guide.aspx

http://johnpapa.net/silverlight5features

http://franksworld.com/blog/archive/2010/12/03/12211.aspx

Summary

In this article we explored the top 10 features in Silverlight 5. In future articles on Silverlight we will explore some of these features in greater detail. Happy reading!



Related Articles

Comments

  • Billige række GHD IV styler, Sales i Århus 2013

    Posted by cheneason on 05/30/2013 12:29pm

    [url=http://www.cascos-beats-baratos.webs.com/]Cascos beats baratos[/url] Vores online butik handling, du den billigste og Billige GHD Styler. Nogle gange er det faktisk vigtigt for en babe at købe Ghd Sjældne Styler anon hos grossister, arcade online eller fordi yderligere ghd glattejern. Det er acceptabelt for typer af hår. [url=http://www.beatsbydrdrebaratos.weebly.com/]beats by dr dre baratos[/url] Ved hjælp af magi magi ghd glattejern, kan du oprette en stor bølge af hår. Meget velegnet til off bryst hår pige. Brug er meget enkel, først ghd håret varme, hvis man kan operere mere anstrengende omvej first hår ghd håret på genopvarmning, men dette er ikke god temperaturregulering, først med en ghd fladjern hår for klemmer bor, og hår rundt om s-gerne på det, ville det tage at være stor, er du nødt til at cirkel rundt om et par mindre punkter, hvis du ønsker at tilbringe et lille sår på multi-point Best Buy keramik, færre skader ens hår! [url=http://www.comprar-auriculares-beats.blogspot.com/]comprar auriculares beats[/url] GHD Fladjern elsker i øjnene af beskueren, den mest romantiske Valentinsdag i Kina, som udgør deres egen skønhed. Nyt tøj, nye sko, et godt sind er identificeret, så er der tilbringer en vis indsats på håret. Willow-lignende swing, elegant 3000 sort hår, der viser en kvinde, den smukkeste side. Hair Salon Hair Design tænke over, hvad slags kanaler i håret af smukke kvinder over ..

    Reply
  • http://www.oakleysunglassesoutc.com/ lxkuzw

    Posted by http://www.oakleysunglassesoutc.com/ Mandyuml on 03/29/2013 05:43am

    Germany and the United States was enthusiastic to mediate the Sino-Russian war.cheap ghd, Intention it was in here.ghd australia, On the issue of mediation of the Sino-Russian dispute.ghd hair straightener, Americans clearly than the German ahead - in early October.ghd, U.ghd straightener,S. President Franklin D. Roosevelt met at the White House, the United States, France Minister Zhu Selang. And also to reach an agreement and the United Kingdom. China has the right to insist that the occupation of Vladivostok. And to ensure the dominance of the ground in North Korea. Roosevelt is the hope that Britain and France to promote the influence of Russia. So as soon as possible to reach a peace treaty between China and Russia. As for this treaty on who is more detrimental. This is not the United States to do. The only hope to end the war as soon as possible. War every promote day. China will be the war to victory and the national spirit. And China's military forces continue to be inflated. Chinese nationalist sentiment and awakening to feel fear to the point - according to the United States in the number of Chinese nationals ground reaction is bound to be running high.

    Reply
  • ugg boots bfmhvs http://www.cheapfashionshoesas.com/

    Posted by Mandydpp on 01/29/2013 02:22pm

    4pXkl ghd nz sale sYva Michael Kors outlet iQyu ugg boots 9nTaa ghd hair straighteners 0tAax New York Mets MLB Purple Black Hats Wholesale Sellcinnati Bengals Heart Soul Brown T-Shirt Wholesale SellYork Giants Sideline Legend Authentic Logo Dri-FIT T-Shirt Blue Wholesale SellMiami Heat LeBron James Latin Nights Swingman Jersey Wholesale SellSeattle Mariners Justin Smoak 17# White MLB Jerseys Wholesale Sell 8uNfu coach,coach outlet,coach usa,coach factory outlet,coach factory 9jVog burberry bags 7iQxh casque beats by dre pas cher 0aAit beats headphones 4eXkb ugg australia 3cDcy 1hGpo 0cHze 9uWkg 5yVgx

    Reply
  • http://www.computerprediction.com

    Posted by john on 11/18/2012 09:13am

    Your articles and contents are inspirational.Computer Group

    Reply
  • http://www.computerprediction.com

    Posted by john on 11/18/2012 09:01am

    Just goto your local NAB and fill in a proxy in the current location document... professionalgambler

    Reply
  • professionalgambler

    Posted by john on 11/18/2012 08:38am

    Inventure India is a management consulting firm has an unparalleled depth of knowledge and resources combined with functional and industry expertise for geographical reach. We help leaders make distinctive, lasting and substantial enhancement to the performance of their organizations.

    Reply
  • http://www.computerprediction.com

    Posted by sports gambling on 11/18/2012 08:34am

    Music makes the world go round. If you're lucky, it can also take you around the world. These 5 international music festivals will give you a reason to renew your passport in 2011.

    Reply
  • Computer prediction group

    Posted by Computer prediction group on 11/18/2012 08:27am

    http://www.serjtankian.com/news/serjs-kickstarter-campaign-successfully-completed#comment-45761

    Reply
  • http://www.computerprediction.com

    Posted by professionalgambler on 11/18/2012 08:20am

    edit We can deploy new versions of our software, make database schema changes, or even rotate our primary database server, all without failing to respond to a single request.

    Reply
  • http://www.ukimulberriesbagsonline.eu/ zusbuy kymamx

    Posted by rootlyJerie on 11/15/2012 12:39am

    Top 10 Best Features in Silverlight 5 ianptb vqpsukp oyowyp moncler pais sqtdiss lqwvmvcl moncler france xleahml boefa moncler ckrezsqy timberland boots aznocntj ghd hair straighteners ipxnjsxx

    Reply
  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • Live Event Date: November 20, 2014 @ 2:00 p.m. ET / 11:00 a.m. PT Are you wanting to target two or more platforms such as iOS, Android, and/or Windows? You are not alone. 90% of enterprises today are targeting two or more platforms. Attend this eSeminar to discover how mobile app developers can rely on one IDE to create applications across platforms and approaches (web, native, and/or hybrid), saving time, money, and effort and introducing apps to market faster. You'll learn the trade-offs for gaining long …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds