WPF/E is there, but one thing puzzles me...

The samples of WPF/E look stunning, the kind of effects we are used to see in Flash applications. I had a quick look at the WPF/E SDK, and one thing puzzled me: it looks like WPF/E currently only provides a DOM, and that the Javascript runtime as available in your browser is used to access the WPF/E DOM. This means that you still have to solve all Javascript language differences between different browser platforms. It also means that things like interaction with the server (for example AJAX calls) must be handled through the browser Javascript. If my quick observations are correct it means that for WPF/E we are still dependend on the same cross-browser AJAX solution libraries as we are using for our current AJAX sites; libraries like prototype, , scriptaculous, AJAX .NET Professional, and of course ASP.NET Ajax.

At one side this is great, all knowledge on this technology can be reused and the possibilities are infinite. On the other side: there is not a well defined boundary to do your programming in, where you are sure it works on all platforms. I think this is one of the advantages of a platform like Flash.

On the other hand: in a future release a micro version of the .Net framework will be embedded, maybe this will provide this boundary. In the mean time I forsee all the cross browser problems we all love in our current "old technology" web solutions.


  • I think that is the plan, embed a micro CLR (in the same style as Apollo and the Flash runtime) along with micro version of WCF. That way you can script WPF\E in a language that compiles down to IL and use coms mechs in WCF.

  • Serge,

    As I understand is you can use javascript to interact with the rest of your webpage and the WPFE control. You can also use c# as language to program the behaviour of your wpf/e application. WPF/E contains a little .Net runtime!! (running on apple yes sir)

    Communication till now is not wcf but xml based.

  • @Serge: Scott Guthrie yesterday wrote on his blog that while WPF/E can be used with any AJAX framework, they'll obviously deliver deep integration with ASP.NET AJAX, so using WPF/E with the Microsoft AJAX Library for the cross-browser compatibility may be a good choice.

    @Matthijs: this is not true for the December CTP, it does not contain the .NET mini-CLR. Hopefully this will be in the next CTP in February. The CLR will be able to run IL compiled with C# or VB.NET, and possibly other languages too.

  • Wpf e is there but one thing puzzles me.. Bully :)

Comments have been disabled for this content.