Needs a reference XBAP implementation

Topics: Prism v4 - WPF 4
Nov 29, 2010 at 5:15 PM

It would be really nice if there was a sample app that used XBAP.

Specifically one that uses an xaml file to load the modules.

Many companies like the ease of browser based deployment but since they own the computer they can ensure that the computer has the full .net framework.

Nov 29, 2010 at 6:05 PM


There is no guidance on this topic in Prism out-of-the-box. But I think that you can find the following blog posts in the Matias' blog and Damian's blog interesting:

Migrating Composite Application Guidance (Prism-v2) to XBAP

Composite Application Guidance for WPF & Silverlight (Prism v2) Reference Implementation migrated to XBap

Both are for Prism v2, but I think that you could use them as a starting point.

Hope this helps.

Fernando Antivero


Nov 29, 2010 at 11:14 PM

Thanks for the quick response.

I tried both of those and they failed for a "true" xbap.  (the first one works as far as it goes, but you don't end up with an xbap, just an exe that is running as a page in a separate navigation window.  Trying to run that in IE does not work (and the link it offers to get it to run in IE does not work).

Either way, when you create a xbap project and try to lay it out the way those links describe it fails to run.

Note, that all of the above examples seem to be with Prism v2 and Visual Studio 2008.  When I tried them I was using Prism v4 and Visual Studio 2010 (Ultimate).  I suspect that some of the problems I have had are related to both the move of Prism versions and the different version of Visual Studio.

I was hoping for a reference implementation because none of those worked for me. 

Just as a side note: I am trying to get a good deployment strategy for Prism and am really struggling.  I had problems with Click Once ( and the Xbap stuff is not working for me either.  I will give the click once stuff another try as xbap just does not seem to be the common route for prism users.

Mar 20, 2012 at 10:01 PM


For those interested in this topic, you can find a small sample XBAP application using Prism v4 attached to the following work item:

However, take into account that, as mentioned in this thread and in the aforementioned work item, there is no official guidance about this in Prism and it seems that the Prism library is not prepared to be used in XBAPs application as out of the box.


Damian Cherubini