Skip Navigation LinksHome / Articles / Learn / Tips and Tricks

Tips and Tricks

Items Resolution

  • 0 comments  /  posted by  András Velvárt  on  Mar 05, 2010 (3 months ago)


    In the first part of the series, I introduced the application, and created the “ugly duckling” version, where the end user could already browse the and watch the videos. In this part, I am going to add some bling to the app – namely the Intro animation, the ability to skip it, and to replay it. The Intro animation itself is not created with Silverlight, so I will just use it as a video. This part takes heavy use of Visual States, Behaviors and Easings.

    Visual States

    The application builds on Sample Data for displaying the videos’ metadata, and it uses Visual States to differentiate between the states of the application.


  • 3 comments  /  posted by  András Velvárt  on  Feb 11, 2010 (4 months ago)


    As I promised earlier on Silverlight Show, this screencast series will show how to create the showcase application shown on (you may want to read the interview to get some background information on the project). The screencast series shows a real life example of how designers can add value to a project, and how a developer can support this effort by creating small, reusable behaviors that allow the designer to tweak things to shape the end result to be exactly as he wanted it.

  • 1 comments  /  posted by  Andrea Boschin  on  Jan 05, 2010 (5 months ago)

    During a recent work I found some trouble working with the TreeView control in a Model-View-ViewModel scenario. As usually happen, the standard controls are designed to work in an event-driven behavior and this non always marries with a correct MVVM implementation. After some work, I found a way to change the TreeView and transform it to be lazy loadable.

    Download Source Code

    The Model-View-ViewModel pattern has been introduced in Silverlight by few time and this platform lacks a complete support to the pattern by the standard controls.

  • 6 comments  /  posted by  Alexey Zakharov  on  Dec 22, 2009 (6 months ago)

    1. Introduction

    This is the second article of my series about Silverlight web services tricks. At first time I planned to write only about WCF and that is why I called my article series “Deep dive into WCF”, but with my last experience I decided to move away from mainstream and offer some new unusual stuff. That is why I have generalized name of this series to “Deep dive into Silverlight services”.

    In this article I’m going to show how you can build a super fast REST web services using ASP.NET MVC and Google Protocol Buffers library.

  • 6 comments  /  posted by  Braulio Diez  on  Dec 14, 2009 (6 months ago)


    My XAP file is 5 Mb size, is that bad?

    Unfortunately that’s a usual question for lot of new Silverlight developers, … you start coding you Silverlight app everything is easy to do, you can use lot of powerful third parties stuff, and finally you end up with an awesome application that runs quite well under Cassini / localhost, then you a realize that…

    There’s only a small issue: the XAP file takes about 5 Mb, will that be a problem once the app (an internet facing one) is on production?


  • 2 comments  /  posted by  Thanigainathan Siranjeevi  on  Jun 19, 2009 (more than a year ago)

    I was working with one of the web application localization. I was searching with couple of translator's available with the web. The most popular of them are

    1. Google Translation Service

    2. Bing Translator Service

    I tried using the Google API for the web and it was pretty good. Then in recent times I came across Bing translator and tools link in them gave me the way to implement the Bing API. Bing is making a revolution in the search engines and so I liked to use that here.

    Following URL's are referred for this.

  • 16 comments  /  posted by  Thanigainathan Siranjeevi  on  May 22, 2009 (more than a year ago)

    Authentication and authorization plays a key role in the web world. Going distributed makes information sharing healthier. But only if it's allowed for the know contact it will be healthy. We can very well see this in the existing web world. We have the memberships and roles for ASP.Net web applications. In addition we also have forms authentication and NTLM authentication.

    Going smart client is always best. But considering security it has to be more secure since smart clients attract all the people they can be easily prey to security vulnerabilities.

  • 0 comments  /  posted by  Thanigainathan Siranjeevi  on  May 10, 2009 (more than a year ago)
    DomainUpDown control is one of the new controls available in the Silverlight 3 Toolkit which can be found in

    Silverlight Toolkit

    This control Represents a Windows spin box (also known as an up-down control) that displays string values.Help files for the assemblies are downloaded with them by default. This control belongs to the following namepsace.

    Namespace:  System.Windows.Forms
    Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

    The control is bound with a datasource collection.
  • 12 comments  /  posted by  Emil Stoychev  on  Mar 23, 2009 (more than a year ago)

    Merged Resource Dictionaries provide a way to define and split resources into separate files. By locating application resources in external file we can then reuse them between applications. This feature can be helpful in custom control development, but not only.

    In Silverlight 2 resources cannot be factored into separate files and that leads to large App.xaml file holding application-wide shared resources. The same problem exists while developing custom controls. All default style keys must be specified in Themes/Generic.xaml which again leads to very large file.

  • 5 comments  /  posted by  Boyan Mihaylov  on  Mar 10, 2009 (more than a year ago)
    Tags: Browser , Interaction , Cookies , Bookmarks , C# , Boyan Mihaylov


    In my last article I showed you how easily Silverlight can interact with the HTML DOM. Not only you can execute JavaScript functions from your Silverlight application, but you can also call Silverlight methods from JavaScript. This functionality enables you to create very powerful applications.

    As you already know Silverlight runs in a sandbox. This is a special “place” limited for security reasons. It is part of the browser, so Silverlight runs in the browser. Here are some of the limitations of Silverlight:

    • You have no direct access to the local resources like printers.

Help us make SilverlightShow even better. Whether you'd like to suggest a change in the structure, content organization, section layout or any other aspect of SilverlightShow appearance - we'd love to hear from you! Need material (article, tutorial, or other) on a specific topic? Let us know and SilverlightShow content authors will work to have that prepared for you. (hide this)