I have a WPF application, that I want to convert to an application running from the browser. The reason is that WPF doesnt run on Mac/Linux, and Silverlight is not an option because of it's security restrictions.
The basic idea is to turn the app into a webserver-like application, and handle the UI completely in html/ajax. This 'webserver' doesn't rely on WPF/Winforms, so can run on Mono as well. And you can even control the app from your Android/iOS device while on the road.
My question is: is it possible to create this user interface using .NET? The code for the webserver-part is not a problem, but i'm struggling with the actual html that is being served. For example, when someone clicks a button, I need to bind an event to that. I have to write lots of javascript for all those little 'events', for simple controls like listboxes, progress bars, etc. It would be so much easier if I could design the web-interface from VS. While it has support for ASP, I cannot use it's page designer, because the end-user will not have an ASP server running on their desktop PC.
So what would be the best approach to design those dynamic pages using .NET? Or is it simply not possible?
EDIT: To make it more clear, it's not an internet application. The user runs the server-part locally, and connects to 127.0.0.1:80 to view the User Interface of the app.
EDIT II: Because their seems lots of confusion, let me give an example of a similar application: SABnzbd. It's a binary newsgrabber, that you install as a 'Windows Service', and can be controlled through your webbrowser. It's multi-platform, and written in Python. I want to take the same approach, only using (VB).NET