I have been experimenting with WPF and rendering strict XAML markup in a web browser, also known as Loose XAML (explained here and here).
It strikes me as mostly useful for displaying static content. However, it also appears possible to bind to an XML data provider.
Loose XAML files are not compiled with an application, which creates the following limitations:
- They do not allow external assemblies
- No use of classes, code-behind (or any C#)
- No two-way databinding
What additional limitations are there?
- I have not found a way to databind to a database provider (SQL Server)
- Is the .NET Framework required on the client machine in order to render the XAML in the browser?
- Are Search Engines able to interrogate Loose XAML to appropriately rank the pages?
EDIT: I have attempted to bind the XML data provider to a web service (using this simple example) and have not been successful. These findings lead me to further research where I found that it this is not supported: "The XMLDataProvider is designed to be read-only (in other words, it doesn't provide the ability to commit changes), and it isn't able to deal with XML data that may come from other sources (such as a database record, a web service message, and so on)." -Matthew MacDonald, Pro WPF