Simply put it, it's a WPF application that resides inside a browser.
XBAP - XAML Browser Application.
Create an XBAP application:
Where to start ? Just open VS2005 and create a project of type : "XAML Browser Application".
There is actually not much information in the Windows SDK documentation about this kind of a project.
But a good place to start:
Some restrictions apply, and you will find that you can live with them, the main issue to consider is the security module, XBAP runs inside of a "sandbox" so in terms of CAS it uses Internet zone only, and if you think about this for a minute you will realize that it is actually a good thing.
XBAP uses the "Page" object instead of a "Window" object as in regular WPF applications, which is pretty cool, you can take your code and slap it onto XAMLPad and see the results.
Simple Hello sample:
<Page x:Class="XAMLBrowserApplication2.Page1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Page1"
>
<Grid>
<TextBlock FontWeight="UltraBlack" >Hello XBAP!</TextBlock>
</Grid>
</Page>
Deploy:
After you build your application notice two special files in your bin folder:
the .exe.manifest file gives out the "secret", XBAP's are actually ClickOnce applications, the .xbap file is like the .deploy file that is created for regular ClickOnce applications.
This follows the same rules of a ClickOnce application and thus it requires that you sign you application using a .pfx key file.
All you need to do now is to create a virtual folder inside IIS, copy all the files from you bin folder and you are done, almost...
Configure MIME type in your IIS web server ( or any other kind of web servers that you may have: J2EE, Apache ... ) and now you are done.
note: in the MIME type configuration instructions, you may choose to use the VBScript that is offer there in order to do this work for you, just so you know the script does work, but if you look at the MIME types table in IIS after running it, the table does not show any thing. This is a known issue , but don't worry the MIME types were configured.
Happy XBAP - ing.........