tags:

views:

115

answers:

3

Apart from the fact people get to view the app in a browser which may be familiar. Is there any actual compelling reason to use the XBAP model in WPF rather than a straightfoward stand alone WPF app.

All I can see are potential security issues and restrictions but no benefits. Am I missing something?

+1  A: 

In practice No and No would be the answers to your questions. I have never actually seen them used in production nor is there ever really a justified reason to use them.

As Kent mentioned Silverlight or Click Once is almost always a better option.

One could argue, in a full trust Windows only environment, XBAPS gives you the ability to leverage the full WPF framework with the flexibility of web deployment. Of course that is what Click once is for. However, in my experience ClickOnce is a nightmare for anything more then a simple, single application install so you might argue in favor of XBAP to avoid ClickOnce headaches.

But again, my response would be, Silverlight is likely a better choice.

Foovanadil
Aren't all XBAPs ClickOnce apps themselves?
YotaXP
+2  A: 

I have used an XBAP, once.

We needed full-trust, and we needed the application to act as if it were browser hosted. XBAP was the only real option we had, and I'm glad it was there.

Outside of this tiny nitch, Silverlight & Click Once are better all around options.

Kevin Montrose
+1  A: 

We use it to have a single sourced solution for an application that can run in a browser but also as a desktop application. Both full trust.

Rob