Site Meter Microsoft Talk » Blog Archive » Styling a Silverlight Twitter Application with Expression Blend 2

Styling a Silverlight Twitter Application with Expression Blend 2

by Brick ONeil

Silverlight 2 provides a rich platform for building cross-browser/cross-platform RIA applications.

One of the things that makes Silverlight so powerful is the ease with which developers and designers can collaborate together on projects. Developers can use Visual Studio to open and edit Silverlight 2 projects and get a powerful code-focused .NET development environment, and designers can use Expression Blend 2 SP1 to open and edit the exact same project and use a creative tool to sculpt and create optimal user experience designs.

The WPF UI framework shipped in Silverlight further enables a great designer/developer workflow by supporting concepts like layout management, controls, styles, templates, and resources - which help avoid scenarios where designers and developers end up tripping over each other when integrating functionality, behavior and expressive design.

Silverlight 2 Twitter Sample

Last month I posted an in-depth blog tutorial on how to build a Silverlight 2 Digg application which you can read here. This tutorial was aimed primarily at developers, and focused on introducing the fundamental programming concepts involved when building a Silverlight 2 application.

Today Celso Gomes and Peter Blois posted a cool 10 minute video tutorial that shows off using Expression Blend to stylize a Silverlight 2 Twitter Messenger application. You can watch the video here. You can download the source code for the completed Silverlight Twitter application here.

The video does a nice job demonstrating how designers can re-style a Silverlight application without having to mess with the code behind it. In the process it shows some of the power and capability that Expression Blend 2 provides to build really rich user experiences.

Styling a Silverlight Twitter Application with Expression Blend 2
Silverlight 2 provides a rich platform for building cross-browser/cross-platform RIA applications.

One of the things that makes Silverlight so powerful is the ease with which developers and designers can collaborate together on projects. Developers can use Visual Studio to open and edit Silverlight 2 projects and get a powerful code-focused .NET development environment, and designers can use Expression Blend 2 SP1 to open and edit the exact same project and use a creative tool to sculpt and create optimal user experience designs.

The WPF UI framework shipped in Silverlight further enables a great designer/developer workflow by supporting concepts like layout management, controls, styles, templates, and resources - which help avoid scenarios where designers and developers end up tripping over each other when integrating functionality, behavior and expressive design.

Silverlight 2 Twitter Sample

Last month I posted an in-depth blog tutorial on how to build a Silverlight 2 Digg application which you can read here. This tutorial was aimed primarily at developers, and focused on introducing the fundamental programming concepts involved when building a Silverlight 2 application.

Today Celso Gomes and Peter Blois posted a cool 10 minute video tutorial that shows off using Expression Blend to stylize a Silverlight 2 Twitter Messenger application. You can watch the video here. You can download the source code for the completed Silverlight Twitter application here.

The video does a nice job demonstrating how designers can re-style a Silverlight application without having to mess with the code behind it. In the process it shows some of the power and capability that Expression Blend 2 provides to build really rich user experiences. Celso starts with a developer version of the application, and then customizes and sculpts the UI to have a fun twitter character theme:

The Application Model

The Silverlight Twitter client is hosted within an ASP.NET server application that exposes a web service that enables the Silverlight Twitter application to communicate to the Twitter service (since Twitter does not allow direct access from client applications). Communication between the Silverlight client and the ASP.NET web server is done using Windows Communication Foundation (WCF).

The client application uses a Model-View-Presenter (MVP) pattern (also known as the Model-View-ViewModel pattern) which is commonly used in large WPF applications. Even though this is a fairly simple application they wanted to take advantage of the flexibility that MVP allows and allow room for future growth.

Maintaining the separation between the visuals and the application logic also enables designers to make fairly complex visual changes without impacting the basic application flow. The video goes through some examples of the styling flexibility this architecture facilitates.


Leave a Reply


About Microsoft Talk

My name is Brick ONeil, and I’ve been with the 451 Press Network since March 2007. I’m the new blogger for Microsoft Talk. We’ll be discussing ‘About Microsoft’ itself. What’s happening, who’s coming/going, what new technologies they’re coming out with, updates and upgrades. I’ll try to bring you news each day that impacts your daily life and use of Microsoft products, or just interesting information I think you’ll enjoy

Microsoft Talk Author(s)

Technology Channel Posts

  • Father’s Day Gadget Gifts
    Dad’s special day is just days away. Be sure not to forget to gift your father or husband on this special day, June 20th. I personally got my husband an advanced Father’s Day gift and bought for [...]
  • Samsung’s BD-P4600 is a Fancy BluRay Player
    Released yesterday, this latest BluRay player from Samsung definitely stands out in plenty of ways. The unit doesn’t look like any player. It comes with metal brackets for mounting to the [...]
  • EMS Mouse
    Well, I think I would like this very much. Sitting in front of the computer for many hours in a day can be a pain in the back and I get relief from a massage procedure. But when a therapist [...]
  • Load-Ding Device Organizer
    If you have most of your gadgets cluttered and lying around the house as you charge them, a device like this will definitely have tons of use for you. It's a great solution for keeping your [...]
  • Sony Playstation’s PSP GO
    The web is abuzz with rumors of Sony Playstation’s latest upcoming mobile game portable…the PSP GO! The new design of the very popular handheld unit features an even lighter more compact [...]
  • Apple’s Newest iPhone 3G S
    Apple early today has announced the release of the newest iPhone 3G S, which they claim to be the “most powerful” iPhone yet. The latest unit is packed with so many more features than the [...]
  • Remote Pet Feeding & Viewing Camera Kit
      We can’t deny that with today’s lifestyle, pets are treated like actual human beings. So that even ideas like this actually make sense. There are pet-owners now who regard their dogs as [...]
  • Nokia N97 Worldwide Release this June
    The latest in the Nokia line of handsets will be out in the over seventy-five countries beginning this June. The Nokia N97, which is Nokia’s very first mobile computer/cellphone, will be made [...]
  • Della Website
      Della is a specialty website operated by Dell Computers with the female population in mind. The site is so female oriented and comes with tips like calorie counting, the right way to [...]
  • Sony Ericsson’s Satio
    Unveiled recently, Sony Ericsson’s Satio is marketed as the ultimate multi-media device. The gadget is a camera phone that should appeal to every budding amateur photographer. The gadget boasts of [...]

Hot Off The Press