BT

InfoQ Homepage News Rob Relyea weighs in on XBAP vs. ActiveX

Rob Relyea weighs in on XBAP vs. ActiveX

Bookmarks

XBAP is the technology formerly known as "Web Browser Applications" or WBA, (wubbas), and Karen Corby provides a slightly dated introductory whitepaper on MSDN.  In simple terms, an XBAP application is written in XAML, hosted in a web browser sandbox, and does not need to be installed like a click-once application.  It does, however, require the .NET 3.0 Framework to be installed on the target machine and will trigger a .NET 3.0 Framework download before the XBAP application initializes, which is an important item to be aware of when considering XBAP.

Rob Relyea, a Program Manager working on WPF read Anne Zelenka's blog posting on the .NET framework 3.0 launch and wrote a comparison of ActiveX with XBAP. In a nutshell when compared with ActiveX:

  • XBAPs are easier to work with than DHTML
  • XBAPS run in a secure sandbox
  • XBAPS do not require approval prompts due to limited access to the local machine
  • XBAPS can use 98.2% of the power of WPF when building user interfaces
  • XBAPS must live inside an iFrame or top level window, which the WPF team hopes to fix in the future
  • The XBAP hosting strategy is currently as a DocumentObject application meaning communication must be done via a querystring.
  • XBAPS are only supported in IE6 or IE7 today. 

How difficult is it to convert your WPF applications into XBAPs?    Charles Petzold provided a follow up blog post last week detailing in 6 steps the process to convert an application to an XBAP

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • What? Microsoft gets a sandbox?!!

    by Paul Fremantle /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I remember back in about 1997 when Microsoft was saying that they didn't need a sandbox because signed ActiveX controls would work just fine!

    Nice to see its only taken them 10 years to catch up on the idea of a sandbox :-)

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.