Asp.NET VS WPF浏览器应用程序 [英] Asp.NET VS WPF Browser Application

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

问题描述

大家好,

我正在使用ASP.net开发网站.
我也曾在.net 2.0版本的Windows应用程序中工作.

但是现在当我安装Visual C#2008 Express时.我发现有一个WPF浏览器应用程序.
然后,我开始阅读文章.

我仍然无法理解何时可以在Internet上使用WPF浏览器应用程序,那么ASP.net的需求是什么.
WPF XBAP应用程序可以使用I.E.运行并可以托管在Web服务器上.所以为什么我们需要ASP.net.

看完这篇文章后,我感到困惑的是,为什么我可以在ASP.NET上工作,而一切都可以使用WPF来完成,即我们可以开发基于Web和窗口的应用程序.

请告诉我市场上谁的范围更多是Asp.net或WPF和WPF XBAP.

请指导我该怎么办?
我只需要打开Windows应用程序吗?


问候
Manish Kumar Namdev.

Hello Everyone,

I am developing websites using ASP.net.
I have also worked in windows application in .net 2.0 version.

But now when I installed Visual C# 2008 express. I found there is a WPF Browser Application.
Then I start reading the articles.

I am still unable to understand when WPF Browser Application can be use on internet then what''s the need of ASP.net.
WPF XBAP application can run using I.E. and can be hosted on web server. SO why we require ASP.net.

After reading this I got confused that why I''m working on ASP.NET when everything can b done using this WPF i.e. we can develop web and window based application.

Please tell me in market whoose scope is more Asp.net or WPF and WPF XBAP.

Please guide me what should I do?
Do I need to switch on only windows application?


Regards
Manish Kumar Namdev.

推荐答案

ASP.NET在服务器上运行,因此最终用户不需要安装-他们只需在浏览器中运行该应用程序即可. >
WPF需要.NET框架,并且代码在客户端上运行,因此您的应用程序也需要部署/安装在最终用户的计算机上.

如果要在浏览器应用程序中使用WPF功能(代码在客户端,动画,图形等上运行),则建议使用Silverlight而不是WPF浏览器应用程序(XBAP),现在认为这些应用程序是多余的,因此不建议使用. Silverlight运行时可以快速下载并安装,并且Silverlight应用程序可以从主机服务器部署,因此不需要安装程序.
ASP.NET runs on a server so no installation is required for end users - they can just run the application in a browser.

WPF requires the .NET framework, and the code runs on the client so your app needs to be deployed/installed on the end-user''s machine as well.

If you want WPF features (code running on client, animation, graphics, etc.) in a browser app then Silverlight is recommended over WPF browser applications (XBAPs) which are now considered redundant so are deprecated. The Silverlight runtime is quickly downloaded and installed and Silverlight apps deploy from the host server so don''t require installers.


如果您不想在.NET框架上安装客户端,则避免使用WPF.
If you don''t want to install the .Net framework on the client, then avoid WPF.


看看 ^ ]

希望对您有所帮助:)
have a look at this[^]

hope it helps :)


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

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