请问Silverlight 3中更改MVC与Silverlight的问题? [英] Does Silverlight 3 Change the MVC vs. Silverlight question?

查看:123
本文介绍了请问Silverlight 3中更改MVC与Silverlight的问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我即将开始一个新项目,并调查是否或不使用MVC,Silverlight的或两者兼而有之。这个问题的Silverlight与ASP.NET MVC 是一个很好的起点。但看在SL3测试版,它看起来像有一些改变的景观只是有点两样东西。首先,导航功能,它是Silverlight的直接功能,现在有是.NET RIA服务。同时的Silverlight实际上不是一部分,这是相当综合和似乎弥合客户端和服务器的操作之间的差距。一个区域,在我看来,其中的MVC强和Silverlight(即客户端技术)不是。据我所知,你仍然可以同时使用,但你应该,为什么?

I'm starting a new project soon and investigating whether or not to use MVC, Silverlight or both. This question Silverlight vs. ASP.NET MVC was a good starting point. But looking over the SL3 beta, it looks like there are two things that change the landscape just a bit. First, the navigation feature which is a direct feature of Silverlight and now there is the .NET RIA Services. While not actually part of Silverlight, it's fairly integrated and seems to bridge the gap between client and server operations. An area, in my opinion where MVC is strong and Silverlight (being a client side technology) was not. I understand that you can still use both, but should you and why?

推荐答案

简单地说,没有。

Silverlight和桌面上的Silverlight都比较喜欢的WinForms / WPF应用程序,只是碰巧在网络上运行。他们是有状态的,从网站的行为非常不同。 Silverlight应用程序只能在机器,让Silverlight来运行运行。在企业网络设置它们可能的组策略设置,因此无法安装Silverlight的。那么你已经有了一个问题。

Silverlight and silverlight on the desktop are more like winforms/wpf applications that just happen to run on the web. They're stateful and act very differently from a web site. Silverlight apps can only be run on machines that allow silverlight to run. In a business network setup they may have group policies setup so that silverlight cannot be installed. Then you've got a problem.

ASP.NET MVC不过是一个无状态型设计,其中pretty多的人使用网络浏览器可以得到与平台无关的。你有更多的自由使用ASP.NET MVC,因为你没有在有任何形式的安装运行时的最终用户的依赖就您的网站。

ASP.NET MVC however is a stateless type of design where pretty much anyone with a web browser can get to regardless of platform. You have much more freedom with your site using ASP.NET MVC because you don't have a dependency on the end-user having any sort of runtime installed.

我觉得每个人都有自己的位置和它的pretty多明显。 Silverlight是伟大创造一个丰富的经验适用。我怀疑你会看到太多的Silverlight雨后春笋般冒出来取代网站。

I think each has their place and it's pretty much obvious. Silverlight is great for creating a rich experience where applicable. I doubt you'll see too much silverlight popping up replacing web sites.

这篇关于请问Silverlight 3中更改MVC与Silverlight的问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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