Webucator's Blog

|

How to View Data Validation Exceptions in Silverlight 4

This is a video demonstration of how to view data validation exceptions in Silverlight 4. Silverlight silently suppresses exceptions that occur when invalid data is applied to a bound object. Setting the binding expressions ValidatesOnExceptions to true will cause the UI controls to automatically display any validation errors generated by the bound data.

Continue Reading »

|

Using Expression Blend’s FluidMove Behavior in Silverlight 4

In this video I demonstrate how to add a bit of animation to a Silverlight 4 application using the FluidMoveBehavior from Expression Blend 4. Behaviors are a way to wrap UI functionality into something that can be easily reused. In fact, in Expression Blend you can simply drag and drop the behavior from the “assets” panel onto the control you want the effect to apply to. No code is required once the behavior has been defined and Blend 4 has 13 different behaviors predefined that you can use. This video showcases one of those predefined behaviors, the FluidMoveBehavior.

Continue Reading »

|

Retrieving, Converting and Sending Images from SQL Server via WCF to Silverlight

I have posted several short video demonstrations of various aspects of building a Silverlight application.  The application was purposefully simple in order to highlight some of the new tools and techniques in Visual Studio 2010 as well a one video using Expression Blend 4.  The main functionality of the Silverlight app was to make a call to a WCF service that returned back a collection of employee objects with data from the Employees table in Northwind’s database.  In my first few videos I was only getting a few fields of data.  In my last video I wanted to add the Photo field from the Employees table.  It seemed like an easy task but as is the case with many things it turned out to be a bit more complicated in the end. Continue Reading »