I was thinking of creating a desktop application and for the user interface of the application I thought that HTML will be the best option. But I needed some way to generate the HTML for the application from the data structure that it holds.
So I was wondering if it was possible to reuse the ASP.NET engine so it renders the pages but I don’t want to install a full IIS server for the users of this application.
So is that possible? Maybe not using the ASP.NET engine, maybe there is a similar one for desktop applications.
You might be able to use the UltiDev Cassini web server (http://ultidev.com/products/Cassini/) for this purpose. Its lightweight and relatively easy to use.
Are you planning to generate the HTML dynamically, or will static HTML suffice? Don’t forget that you can embed the IE WebBrowser control in a desktop app, and then gain access to the DOM from the desktop app code. Lots of interesting things could be done using this approach.