TechEd 2007: Skinning Demonstration for Silverlight Touts C# Payoffs

By Scott M. Fulton, III | Published June 7, 2007, 10:34 AM

ORLANDO - During an early morning session on Thursday, Microsoft program manager Chung Webster introduced developers to some of the basic concepts of building Silverlight-capable Web applications, including the creation of customizable video controls. The tools Webster used were the Beta 1 edition of Visual Studio 2008, the current beta of Expression Blend 2, and the Silverlight Alpha 1.1 version which uses Web services and C#.

What Webster was implying - and many in the crowd knew he was doing so - was that there is indeed a payoff to be gained from developing Silverlight apps using the strongly-typed C# language. One is the ability to utilize Web services through JSON - not yet SOAP, he said, although Microsoft is currently working with the W3C to make that happen. Another is the ability to use Expression Blend to tinker with the skin of the video control, producing a new set of XAML framework code that can be imported into the project.

As a developer tool, Expression Blend is a lot more like Photoshop than an IDE - or perhaps more accurately, it's more like Adobe Illustrator, because it produces front-ends and skins in a vector-oriented format. This way, skins produced for a video control may be rendered in variable resolutions, making them look crisp and clear for mobile browsers on handsets, as well as on Safari browsers for Mac OS (which Webster also demonstrated).

One of the questions we've raised during our coverage of Silverlight since its inception has been whether Web developers would be willing to adopt C#, a language from the world of traditional, monolithic applications. The answer today looks closer to "yes" than "no." When polling the audience, Webster learned that about two thirds of the self-proclaimed Web developers already know and use C#.

But even helping along the developers who've never worked in the monolithic world is the fact that a lot of the C# code for a project is automatically generated during the application creation process. Essentially, the template code instantiates Silverlight, and produces the client-side code that would bootstrap the library on the user's browser. It then calls up the XAML code which renders the controls - that's the part that's the most customizable by the developer, but the developer will be using the Expression Blend graphical environment to accomplish this, not so much the "Intellisense" environment of Visual Studio.

From some of the "wows" we heard in the crowd, we're learning that the Silverlight 1.1 alpha may go over quite well among developers. Among those who are accustomed to Flash - Silverlight's principal competition - the fact that skins can not only be customized but easily branded by Web sites, will deserve one of those "starbursts" you see in features lists.

There are some other payoffs from debugging and tweaking C# code, as Webster showed, including endowing slideshow controls with custom abilities and properties, like fade effects and dynamic stretchability.

In one demo, stretching and resizing IE7 triggered an event that prompted Silverlight to resize the slides themselves, and the controls around them, to fit the new size...as the browser is being dragged, not just when the mouse button is released.

Stay in touch with BetaNews for more from TechEd 2007 throughout the week.

Comments

View comments by with a score of at least

Looks like Flash 2.0 is finally here.

Score: 0

|

...except it won't be cross-platform, locking everyone using non-microsoft OSs out...

Score: 0

|

silverlight is cross platform... Just not Linux (yet!)

Score: 0

|

Even if that were true, it would be such a sin, eh? Microsoft making a program that only works in Microsoft's Operating Systems.

Ooh! The horror....

Score: 0

|

PDC 2009: What have we learned this week?

There was the freebie that no one will forget, the heebie-jeebies courtesy of Scott Guthrie, and a teensy bit clearer picture of how this cloud thingie should work.

Live report: Will Google Chrome OS change Linux?

The mysteries of just what Chrome OS is, and how much of an operating system it truly is, may be resolved today.

PDC 2009: Microsoft cares about Web browser performance

The effort to give users of the world's dominant Web browser the impression of quality, is a personal one for the man who leads that battle.

Nokia re-affirms its commitment to Symbian, sort of

Maemo won't necessarily be replacing Symbian in the Nokia N-Series, but that's definitely a place where it will be found.

E-book readers will be in short supply this holiday season

E-readers are hot this year, and a lot of compelling new products have been released, but are there enough electrophoretic displays to go around?

Sony looks to finally open a single storefront for downloads

Sony has had many different download portals for movies, music, e-books, and games, and now it's looking to make a single shop for all of it.

Tuning out the tablet: Time to give the endless speculation a rest

Wide Angle Zoom: Wishing and hoping and thinking and praying....won't put an iTablet on the market.

Five improvements for IT managers in 2010

If businesses are to improve their efficiency for next year, they need to stop and reassess the basic tenets of their job.

AOL's spinoff from Time Warner to shed 2,500 jobs

As AOL moves toward become an independent company again, it will cut nearly a third of its workforce.

Gartner: SMS-based money transfer will be bigger than mobile browsing, search

Gartner issues its predictions for the 10 things our phones will be doing in 2012.

Don't forget to upgrade to Firefox 3.6 beta 3 today

Mozilla has released the latest beta its Firefox 3.6 browser software, just over one week after beta 2.