Silverlight 4: Sum is Greater than the Parts
Silverlight Saturday, November 28 2009
Now that Silverlight 4 beta has been released there are tons of people trying the new bits, starting to develop applications, and blogging some great samples and ideas. You can check out all of the features from the Silverlight 4 beta Technical Whitepaper I wrote in HTML format here or download the whitepaper form this link, for offline reading.
Some of the features are fairly obvious crowd favorites such as the printing API, but my favorite feature is in fact a series of features that make up the Trusted Application support with Out-of-Browser applications. Unlike previous releases, there is no single feature that grabs me and if you look at each feature by themselves they do not seem nearly as compelling as they do as a set. So many of the features can add a ton of value in creating applications. Individually they are great features but when you combine them, you get a huge value add.
For example, the Out-of-Browser features allow you to operate at a lower level out of the browser. Sounds good, as you consider you can use the WebBrowser control to display HTML. OK, pretty cool. You can use an HtmlBrush to take that WebBrowser control as a source and display the HTML content using various elements, transforms, and effects. Yeah, now we’re talking!
Then we look at the Trusted Application features that we can use including accessing the file system. We can read files from the file system and plays audio, video, or even load HTML content from the file system into the WebBrowser control. What about interacting with Office? Sure, now we can use native integration and invoke COM Automation to start up and control an instance of Outlook or crank open a new instance of IE. What if we want to interact with local applications? Well, if they have a COM interface (or one can be created) its entirely possible.
My point is that the features themselves are great, but as a whole they are truly powerful. Recently I created a music and video player that runs OoB, similar to the one Joe Stegman created and demo’d at PDC. The application reads the local file system for media, interacts with COM to talk to save playlists to Excel, emails favorites to friends, allows drag and drop of media files onto the player, and more. i was even thinking of pulling RSS feeds and display the HTML content into the player form my favorite artists and their sites.
it is an exciting time to be a Silverlight developer. There is a lot going on and the demand for Silverlight applications are on the rise (based on my recent experience as a consultant in this space).
I’d love to hear what types of applications you are creating with Silverlight 4. What are your favorite features? What creative ideas are you generating? Please leave your comments and share!



11.28.2009 at 7:36 PM
Great article John, Seems like the new Trusted application feature has just made our silverlight sandbox bigger. Can't wait to see it in action.
11.28.2009 at 8:07 PM
Thanks for the word document. The layout looks better when I send it to my Kindle. The COM stuff has got to be the biggest thing in my opinion. I have been reading about what Justin Angel has been twittering about he is doing (text to speech/ running programs and using sendkeys to issue commands) and we really don't know exactly what people are going to do.
I am working on some Open Source projects where we will function on user productivity. Dragging and dropping a email onto a page and having it parse the contents and filing out a form to save you a lot of typing.
Stuff like that.
11.28.2009 at 8:19 PM
Although cool for a developer, the trust part, the ability to access my documents by a single click of a message we see all day... scares me to death.
I'm around non-developers all day, and this new 'feature' is to me a serious threat to window users.
A larger sandbox to a browser plugin is a bad thing. You might as well give someone the keys to the kingdom.
11.28.2009 at 11:14 PM
Hi John,
Quick question. Does the printing work in OOB applications, or only with in browser apps?
11.28.2009 at 11:26 PM
ColinM - Yes, printing is accessible in and out of browser.
11.29.2009 at 5:18 AM
I have started to test VS 2010 Beta
Seems to be a conflict if you use both a WCF Service
and a Silverlight Enabled WCF Service.
If you start with WCF and then add a SE WCF the WCF stops to work.
Why use SE WCF anyway?
Seems a lot more flexible to get the IMyService interface
for free!?
The <services> tag is not in the Web.Config file for the WCF Service either?
Have you seen anyone explaining the VS2010 differences?
Folke
11.29.2009 at 8:41 AM
ye.. SL 4 is really amazing..
11.29.2009 at 1:20 PM
Hi John,
I've been following up on your latest news, especially after you have joined MS ;) Great job!
Is there a link to the application that you recently developed (media player ...) ?
Thanks
11.29.2009 at 6:36 PM
Bilal ... I'm still working on the app right now. As always, I'll published and share demos as they evolve.
12.04.2009 at 4:16 AM
The Silverlight 4 beta is an awesome software. My colleague used the application and has recommended it to me. I will be using the same asap.
12.08.2009 at 11:26 AM
John, really enjoyed your PDC presentation and the follow on posts. Learning a lot and I'm definitely on the SL bandwagon. One thing that is a little puzzling to me is that by adding these cool new features to SL4 aren't you breaking the cross-platform support for the Mac? Specifically the COM Automation stuff? I'm not sure I entirely understand the motivation here. Can you comment? Thanks.