通过浏览器运行应用程序 [英] Running an application through a browser

查看:82
本文介绍了通过浏览器运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不确定这是否可行,甚至向我建议的人知道他在说什么,但是否可以通过网络浏览器运行c#应用程序.我认为他的意思有点像您嵌入Flash文件的方式.无论如何,如果有人知道并且可以粗略地告诉我,那将不胜感激!

Dan

解决方案

如果您使用在浏览器中运行的Silverlight,就​​像Flash.
如果您使用WPF,则还可以在您的浏览器为Internet Explorer的情况下在浏览器中运行它:)但是,在浏览器中运行WPF应用程序时,有些事情是不允许的,但在完全信任的情况下,限制很小. blockquote>

为页面设置一个

FullTrust

属性,并使用javascript在客户端运行您的.exe.


Hi, I am not entirely sure if this is possible or even if the guy who suggested to me knows what he''s talking about but is it possible to run a c# application through a web browser. I presume he means a bit like how you embed a flash file. Anyway if someone knows and could tell me roughly how difficult it would be that would be appreciated!

Dan

解决方案

If you use Silverlight that runs in your browser much like Flash.
If you use WPF then you can also run it in your browser assuming your browser is Internet Explorer :) there are however some things that are not allowed when running a WPF application in a browser, but with full trust the limitations are minimal.


set a

FullTrust

attribute for your page, and use javascript to run your .exe at client end.


这篇关于通过浏览器运行应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆