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

|

EC's Kroes to US senators: Mind your own business on Oracle + Sun

If the AP is accurate, the EU's antitrust chief just told the United States Senate that any merger that takes place in the world is more her affair than theirs.

What does AT&T's 'Mark the Spot' app say about service quality?

That's a question for Betanews readers to answer in comments to this post.

Windows fix for TLS security bug still forthcoming, won't be Tuesday

Anyone looking for a fix for last month's discovery of a potentially serious security hole in TLS and SSL may have to wait until everyone is ready to act together.

Google rolls out real-time search, Near Me Now, extended personalization

Over time, searches from PCs and mobile phones will grow even "more personalized." But what about user privacy and search results that give you "the truth"?

Betanews Podcast: Rupert Murdoch and the buying stuff online problem

We'll have a more difficult time paying for online news if the underlying protocol for online payment has a big gaping hole in it.

Not the first, not the last, technology predictions for 2010

Carmi Levy | Wide Angle Zoom: The real truth is probably that what went around in 2009, will come around to haunt us next year.

Google Goggles: Hands on with the Shazam of the Real World

Google today unveiled Goggles, its visual search lab for Android devices that identifies objects by sight.

Microsoft: Windows 7 Family Pack wasn't 'pulled,' it just sold out

If you hurry, you may still be able to find the last Family Pack upgrade editions hanging around retail store shelves, but probably not so much online.

Clever iPhone game returns after being bumped over a name dispute

The game's simple concept and multitude of platforms and puzzles manage to pull off a retro, 8-bit style that's reminiscent of an old Atari game given a modern makeover.

Intel's marriage of CPU and GPU not ready for prime time

Although there will be an Intel component this month that can compute and plot in parallel, Betanews was told today, it won't be based on Project "Larrabee."

An alternative to Research in Motion's enterprise e-mail? There's an app for that

Good Technology today released an iPhone app compatible with its enterprise e-mail solution.