简体   繁体   English

如何在没有 Silverlight 插件或 Z303CB0EF9EDB9082D61BBBE5825D9 运行时的任意浏览器中运行我现有的 .NET WPF 应用程序?

[英]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. 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.理想情况下,它可以在 Chrome、Firefox、Safari、iOS 和其他支持 Z9E13B69D1D1D5CAA9277 的平台上的浏览器中运行

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? 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:看看 ScriptSharp:

http://projects.nikhilk.net/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.尽管如果您可以使用任意 .NET 应用程序并在浏览器中将其作为 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).但是,如果它与表示层(UI)分开,您应该能够在大多数情况下继承用 C# 编写的业务逻辑。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在不严重修改现有应用程序的情况下在服务器上呈现我的反应组件? - How Can I render my react components on the server without heavily modifying my existing app? 在运行时如何在webpack应用程序中要求任意本地脚本? - How can I require arbitrary local script within a webpack app during runtime? 如何在不使用插件的情况下以编程方式记录浏览器操作 - How can I programatically record browser actions without using a plugin 如何使用vb.net在默认浏览器中执行javascript函数 - how can i execute a javascript function in my default browser with vb.net HTML5 + JavaScript Silverlight / .NET运行时 - HTML5 + JavaScript Silverlight/.NET runtime 如何在没有浏览器或节点 js 的情况下运行 Javascript? - How can I run Javascript without a browser or node js? 单击ASP.net控件时,如何使我的网页运行JavaScript代码? - How can I make my webpage run JavaScript code when an ASP.net control is clicked? 如何让我的桌面应用程序从浏览器运行? - how can I make my desktop application run from a browser? 无法在我的ASP.NET MVC应用程序中运行任何jQuery插件,这是什么原因? - Can't run any jQuery plugin inside my ASP.NET MVC application, what would be the cause? 如何直接在浏览器中预览 PDF、DOCX、PPTX 文件? 你能在 Asp.Net MVC 中推荐我吗 - How can I preview a PDF,DOCX, PPTX file directly in my browser? can you suggest me in Asp.Net MVC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM