What if the dynamic Wisej team could turn the solution used on this tool into a build option? Remember you could (can) build Silverlight to run as a Web application or as an Out of Browser application.
You could use the exact same source code to build for the desktop (no web server needed) or for the web. Since this wouldn’t be a true desktop application, there would be some restrictions like you get on a web application:
Can it be done?
Sending JSON packets to the browser engine doesn’t seem to be the hard part. When you change a property on the left side list, the display gets updated according to the new value (provided Live Update is on).
I would say that getting the browser’s response on the C# code would be the difficult part. Maybe it’s not that hard: when you click on a visual element, the corresponding component gets selected on the left side list.
So I think it’s mostly done.
We do have plans for later to distribute an extension to package a full Wisej app into a single executable in two flavors:
In both cases the executable will run an internal web server. It’s a lot easier and more flexible than trying to manage the browser directly.
We handle the browser through a combination of OLE interfaces, scripts, and callbacks in the theme builder and the designers. It works but it’s limited. Also the designer already has an internal web server to support the renderer. The theme builder doesn’t, it simply injects the theme on every change.