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

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

|

Before it can tackle Windows, Chrome must leave Safari in the dust

It's a little browser with dreams of becoming a bigger operating system some day. But while it's chasing Microsoft's dreams, Chrome's tail is being chased by Apple.

Silverlight 3 goes live on Microsoft's servers

Microsoft's answer to Adobe's Flash is (unofficially) here, with prospects of higher-speed, higher-resolution video and for the first time, 3D.

Best Buy-brand TVs to get TiVo

A new alliance will place the retailer's own brand alongide the manufacturers, and could also lead to future partnerships on services.

Three Android phones on the way from T-Mobile in 2009

T-Mobile's myTouch 3G, launched Wednesday, will be followed by two more Android phones later this year, but neither of them will be HTC's Hero.

LTE still lacks a voice

The 4G Wireless standard that Verizon hopes to show off before this year is out is still at a loss for (spoken) words.

T-Mobile's strategy to combat Apple's iPhone with Android

With a trio of Android phones now in the pipeline for 2009, T-Mobile hopes to break the iPhone's emerging stranglehold.

EC's Reding: Government should act as broker for media downloads

If Internet media services don't step up and build an attractive way for users to start paying for downloads, a commissioner says, government may do the job instead.

Sony TVs get Netflix, still no PS3

Though it's coming in behind LG, Samsung, and Microsoft, Sony will begin to offer Netflix streaming, too.

Google Chrome OS: Too little, too early

Carmi Levy: Wide Angle Zoom Don't start the revolution just yet, says Carmi, who isn't so certain Chrome OS will be the "Windows Killer."

GAO pen test brings the hammer down on federal rent-a-cops

But are the computers to blame for the contract-guard fiasco at FPS?

What's Next: Chrome OS will have at least some friends in high places

Also: South Korea takes another round of DDoS abuse, and Neelie Kroes and Steve Ballmer may shake hands before she exits stage left.

Data sharing among online advertisers: Is sanity in sight?

Lockdown with Angela Gunn In the middle of a 15-page plea not to get regulated, a spark of smart thinking.

PST Recovery Software 12.0

July 9 - 11:34 PM ET

Unistal Data Recovery 12.08.06

July 9 - 11:09 PM ET

BKF Repair 3.0

July 9 - 10:54 PM ET

Vuze for Windows 4.2.0.4

July 9 - 6:26 PM ET

UltraVNC 1.0.6.4

July 9 - 6:05 PM ET

WildBit Viewer 5.5 Beta 3.0

July 9 - 5:44 PM ET