比较Web应用程序中的WPF和Silverlight [英] Compare WPF and Silverlight in Web Application

查看:62
本文介绍了比较Web应用程序中的WPF和Silverlight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我已经在ASP.NET应用程序及其生产中找到了良好的工作经验.

现在,我的公司希望通过与ASP.NET竞争的更多用户界面来启动一个新项目.我对选择Addon或Plugin(无论是Silverlight还是WPF)感到有些困惑.我什至都不知道如何在Silverlight和WPF中创建和构建"HELLO WORLD"应用.


当我在寻找两者之间的差异时冲浪时,我遇到了一些类似
的东西
* WPF需要150MB下载,Silverlight需要5MB下载.
* WPF需要XBAP,并且仅支持IE浏览器,而不支持Chrome.


我什至还有一些奇怪的问题,例如

* Silverlight或WPF就像一个附加组件或插件吗?
*我可以在我的ASP.NET应用程序中包含Silverlight或WPF吗?(例如AJAX,JS ...)
*我可以使用ClientSide脚本获得更好的响应吗?
*我可以开发WPF应用程序(如基于浏览器的应用程序)并从客户端PC上运行(如基于窗口的应用程序)吗?
*两者之间的数据库连接如何?(如果有插件,可以吗?)


整件事我只在谈论基于Web的应用程序,而不是在谈论基于Window/基于客户端的应用程序
如果我做出任何错误的假设,我深感抱歉.
用清晰的解释建议我...请

Hi,

I have found good working experience in ASP.NET applications and its on production now.

Now my company wants to start a new project with some more user Interface competing with ASP.NET. I''m bit confussed in choosing the Addon or Plugin whether Silverlight or WPF. I don''t even know how to create and build an ''HELLO WORLD'' app in both Silverlight and WPF.


While I surf for finding the difference between both i come across some stuffs like

* WPF needs 150MB downloads, Silverlight needs 5MB downloads.
* WPF needs XBAP and supports only for IE browser and not Chrome.


I even have some odd questions like

* Silverlight or WPF is like an Add-on or Plugin ?
* Can i include an Silverlight or WPF stuff inside my ASP.NET applications ?(like AJAX, JS...)
* Can i use ClientSide Scripting for better response ?
* Can i develop WPF application like an Browser based and run from client PC like an Window Based Application ?
* How about DataBase connectivity in both ?(if its an plugin, Is it possible?)


Entire thing i''m talking about WEB based applications only and not an Window based / Client based application
And i''m sorry if i made any wrong Assumptions.
Suggest me with clear explanations...Please

推荐答案

许多问题没有道理或基于错误的假设.

"WPF需要XBAP"是什么意思?它不是. WPF首先是一个桌面"库,用于创建Windows .NET应用程序.您根本不应该将其视为Web开发的候选者(如您正确指出的那样,XBAP不能在浏览器上移植).

我认为您应该考虑使用ASP.NET或Silverlight(或者您需要真正丰富的应用程序功能)并从那里开始.

—SA
Many of the questions make no sense or based on wrong assumptions.

What does it mean "WPF needs XBAP"? It does not. WPF is primarily a "desktop" library, for creation of Windows .NET applications, to start with. You should not consider it as a Web development candidate at all (XBAP, as you correctly pointed out, is not browser-portable).

I think you should consider either ASP.NET or Silverlight (or you need really rich application features) and go from there.

—SA


这篇关于比较Web应用程序中的WPF和Silverlight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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