是否可以在浏览器上运行 WPF 应用程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/13119683/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-13 05:58:30  来源:igfitidea点击:

Is it possible to run WPF Application on browser?

c#.netwpfc#-4.0

提问by Nitin Kabra

I am new to WPF. I wanted to know that is it possible to run a wpf application on a browser or do i have to create a different WPF Browser application ?

我是 WPF 的新手。我想知道是否可以在浏览器上运行 wpf 应用程序,或者我是否必须创建不同的 WPF 浏览器应用程序?

回答by ChrisF

You need to create a WPF Browser Application

您需要创建一个WPF 浏览器应用程序

This is a separate project type - the WPF Browser Applicationas you have correctly identified.

这是一个单独的项目类型 -您已正确识别的WPF 浏览器应用程序

You deploy the application to a web server so that it can be downloaded and run.

您将应用程序部署到 Web 服务器,以便可以下载和运行它。

This only works in the desktop version of Internet Explorer.

这仅适用于 Internet Explorer 的桌面版本。