Welcome to MSDN Blogs Sign in | Join | Help

News

  • The posts on this blog are my personal opinion and are provided "as-is". These are by no means a official statement from my employer or anyone implied.

Team Blogs

XBAP and Silverlight

What is the difference between XBAP and Silverlight and when should i use which of these technologies?

Let me step back and start with a precursor:

In .NET 3.0 we have Windows Presentation Foundation (WPF) which allows us to create stunning UIs for desktop applications using managed code. If you still haven't experienced the power of WPF check out the WPF applications here.

Now the logical question was "How can we take the same stunning experience onto the web" - the first step towards that was XBAP - XAML Browser Application (XAML is eXtensible Application Markup Language - an XML type markup to store the UI). XBAPs allow you to run Rich Internet Applications that look and function like WPF desktop applications. These XBAPs run inside the Internet Explorer in a separate sandbox to prevent applications from accessing resources on the local system. A restriction on XBAPs is that they need .NET framework 3.0 or higher to be installed on the client machine to run.

This is exactly what Silverlight is for. So if you want your application to be available on the internet and not dependent on the .NET framework, Silverlight is the way to go. Silverlight is a cross platform, cross browser plugin that allows you to run UIs defined in XAML inside the browser. Silverlight supports a subset of XAML as of now.

I hope this clarifies some of the doubts around XBAP and Silverlight. Feel free to leave questions if you have any. 

Posted: Wednesday, February 27, 2008 3:33 AM by bsinghal

Comments

M. Rajesh said:

Can you provide any tutorial to get started with Silverlight to create pages for websites. For example how do you get these effects as seen on http://heroeshappenhere.co.in/

We would like to implement this kind of animation for our websites.

Please help.

# February 26, 2008 11:18 PM

Noticias externas said:

What is the difference between XBAP and Silverlight and when should i use which of these technologies

# February 26, 2008 11:22 PM

Sync said:

Why does 3D work in XBAP and don't in Silverlight? I heard that 3D doesn't support in order to serve Silverlight as a cross-platform technology..   but what exactly is technical reason? Can you tell me a lit bit deep information about that reason?

# February 27, 2008 1:40 AM
New Comments to this post are disabled
Page view tracker