Feeds

Has Microsoft matched Flash with Silverlight 3?

Redmond certainly hopes so

  • alert
  • submit to reddit

The Power of One Brief: Top reasons to choose HP BladeSystem

Mix 09 Traditionally, version 3.0 is the moment when everything comes together for Microsoft. Has the company pulled this off with Silverlight 3.0, the beta of which was announced today here at Mix 09 in Las Vegas?

The list of new features is impressive, although behind almost every announcement, you can sense Microsoft looking nervously at what Adobe Systems is doing with Flash, both as a media client and as an application platform.

Adobe has AIR, for example, for desktop Flash applications. So, Microsoft has announced Silverlight out of the browser. Developers enable this with a couple of lines in the XML manifest, which configures a Silverlight applet. Users can then right-click and select Install onto this computer. It is also possible to create an install button programmatically. This copies the application locally and creates a shortcut to start it.

There is no security prompt, because Silverlight out of the browser is sandboxed in the same way as Silverlight in the browser. Access to local storage is limited to Microsoft's Isolated Storage, which is an application-specific area. It is 25MB by default but can be increased with user consent. You can write code to detect whether the system is online or offline, and changes in network status trigger an event you can handle. Application updates are near automatic when the version on the Internet changes.

What's different between AIR and Silverlight out of the browser? Quite a lot. Most AIR applications ask for full, local-file access, which means passing a security prompt. Microsoft's vice president of the .NET development platform Scott Guthrie told us this is a key point.

"End users are concerned when they see a big security dialog. What we're doing with Silverlight is to provide a sandbox experience. That starts to dramatically increase the number of scenarios where people feel comfortable clicking OK," he said.

Sandboxing is a double-edged sword. There are scenarios where an AIR application can make good use of its greater permissions. AIR applications also have features that Silverlight lacks. Only pure Silverlight applications will run out of the browser. If your application also needs HTML or script running in the browser, it cannot work, whereas AIR also includes WebKit for offline browser applications.

AIR also has a local-database manager, embedded SQLite. AIR has support for the notification area - sometimes wrongly called the system tray on Windows. Silverlight out of the browser will probably have this, though it is not certain. "It's something we will enable, but I don't know the timeframe," Guthrie said.

Microsoft has also addressed weaknesses in Silverlight's remote-data support. A new binary XML protocol means more efficient access to data delivered as XML. There is also a new server-side feature called .NET RIA Services.

"You can expose a domain service and do change tracking of any data you retrieve, submit the changes back, and the server will revalidate and then persist," explained Guthrie.

This is a REST service that builds on ADO.NET Data Services, once known as Astoria, and will be usable from AJAX web applications as well as in Silverlight. Data comes down by default in JSON format. Automatic synchronization of offline changes is not yet included, though Guthrie said: "The architecture is designed to enable that in future."

Seven Steps to Software Security

Next page: Small package

More from The Register

next story
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Securing Web Applications Made Simple and Scalable
Learn how automated security testing can provide a simple and scalable way to protect your web applications.