How can I run my existing .NET WPF app in an arbitrary browser without a Silverlight plugin or .NET runtime?
I have an existing Microsoft .NET WPF app and want to have it run in the user's browser directly with no Silverl开发者_如何学Goight plugins, no .NET runtime installed, etc. I want straight, pure HTML, CSS and Javascript. Ideally it can run in Chrome, Firefox, Safari, iOS and other browsers on any platform that supports Javascript.
Is there some technology (from Microsoft or others) that lets you take an existing .NET application and compile it to use HTML, CSS and Javascript and run in a browser with no plugins?
Take a look at ScriptSharp:
http://projects.nikhilk.net/ScriptSharp
Although I'd be very surprised if you could just take an arbitrary .NET app and run it in the browser as Javascript. But you should be able to carry over business logic written in C# for the most part if it's separate from the presentation layer (the UI).
精彩评论