简体   繁体   中英

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 Silverlight 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).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM