Silverlight RIA 值得学习还是应该坚持使用普通的 Silverlight?

发布于 2024-08-20 07:46:41 字数 1428 浏览 2 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

哥,最终变帅啦 2024-08-27 07:46:41

首先,我想知道这里是否可能存在一些混乱。

实际上并不存在“Silverlight RIA”这样的东西,所以让我们澄清一些概念,RIA通常定义为Rich Internet ApplicationsSilverlight 是可用于构建此类应用程序的众多技术之一。

不过,还有 Microsoft 技术 WCF RIA 服务,这就是我的技术我猜你指的是。 WCF RIA 服务直到最近才被称为 .Net RIA 服务。

到目前为止,WCF RIA 服务(目前处于 Beta 2 阶段)主要针对 Silverlight,甚至托管在 silverlight.net 域下,这可能是很多混乱的根源。

然而,从理论上讲,它根本不与 Silverlight 绑定,只是 WCF 之上的一项技术,为 RIA 类型的应用程序提供轻松的数据访问,有关更多技术概述,请查看此 Nikhil Kothari 的博客文章 于 2009 年 3 月撰写,内容涉及 .Net RIA 服务,因此可能有点过时日期,但它会让您很好地了解它的内容。

定义这些术语后,回答您的问题“Silverlight RIA 值得学习还是应该坚持使用普通的 Silverlight?”有点棘手。

Silverlight绝对值得学习,从目前看来微软将坚持使用它。我从与 Microsoft 关系密切的人那里听到的最新建议是,如果可以的话,请使用 Silverlight 来开发新的 LOB(业务线)应用程序,如果有一些 Silverlight 无法做到的事情,那么请考虑使用 WPF。

来自 VB6/Winforms 背景的人将会有一些学习曲线,但如果您已经开发过几个 WPF 应用程序,那么您已经走得很好了。

适用于 LOB 的 Silverlight? Silverlight 3 开始引入更多与 LOB 开发相关的功能,例如对 WCF RIA 服务的支持。看起来 Silverlight 4(将于 2010 年上半年发布)将继续采用这种方式,支持打印和使用 MS Office 应用程序使用 COM 等功能。各个第 3 方供应商还为许多标准 LOB 类型的功能提供了越来越多的预制控件。

那么 WCF RIA 服务怎么样?这绝对值得一看,它似乎是微软首选的数据访问方式。它提供了轻松访问身份验证和数据验证等功能。然而,说它仍处于测试阶段,并且互联网上有一些反对它的声音,因此在全力以赴之前可能值得做一些研究。

最后,您说您的应用程序将在内部访问,但您不这样做如果您不想要本地安装软件的麻烦,Silverlight 就非常适合您,只需将小型 Silverlight 插件推出到您的用户计算机上即可。需要任何更改,只需重新编译您的项目并将 .xap 文件部署到网络服务器,它将在用户下次使用该应用程序时自动推送给他们。

很抱歉回答有点长和漫无目的,我希望它能帮助回答您的问题:)

干杯,
奥拉

To start with I'm wondering if there might be some confusion going on here.

There's actually no such thing as "Silverlight RIA", so lets clarify some concepts, RIA is commonly defined Rich Internet Applications, Silverlight is one of a number of technologies that can be used to build such applications.

However there's also the Microsoft technology WCF RIA Services, which is what I'm guessing you're referring to. WCF RIA Services were until recently known as .Net RIA Services.

WCF RIA Services (currently in Beta 2) has so far largely been targeted at Silverlight and is even hosted under the silverlight.net domain, which is probably where a lot of the confusion comes from.

However in theory it's not tied to Silverlight at all and is just a technology on top WCF to provide easy data access for RIA type of applications, for a more technical overview have a look at this blogpost by Nikhil Kothari it was written back in March 2009 about .Net RIA Services, so it might be a little out of date but it will give you a good idea on what it's about.

After defining these terms, it's a bit tricky to answer your question "Is Silverlight RIA worth learning or should I stick to normal Silverlight?"

Silverlight is definitely worth learning, by the looks of things Microsoft is going to stick with it. The latest recommendation I heard from someone close to Microsoft, was to go with Silverlight if you can for new LOB (Line Of Business) Apps, if there's something Silverlight can't do, then look to WPF.

Coming from a VB6/Winforms background there will be a bit of a learning curve, but if you've already done a couple WPF apps then you're on good way already.

Silverlight for LOB? Silverlight 3 started bringing in more features related to development of LOB, like for example support for WCF RIA Services. It looks like this is set to continue in Silverlight 4 (due out first half of 2010), with things like support for printing and COM for working with MS Office applications. There's also coming more and more pre-made controls from various 3rd party vendors for many of the standard LOB type of functionality.

So what about WCF RIA Services? It's definitely worth having a look at, it seems to be the preferred way of data access by Microsoft. It provides things like easy access to authentication and data validation. However saying that it's still in beta and there has been some voices raised against it, around the internet so it's probably worth doing some research, before going all in.

Finally, you say that you're applications will be accessed internally but that you don't want the hassle of locally installed software, Silverlight fits that perfectly, just roll out the small Silverlight plugin to your users machines and you're good to go. Any changes needed, just recompile your project and deploy your .xap file to the webserver and it will automatically get pushed out to the users next time they use the app.

Sorry for the somewhat long and rambling answer, I hope it's helped answer your questions :)

Cheers,
Ola

爱,才寂寞 2024-08-27 07:46:41

如果你做的是商业应用,那么 RIA 绝对值得学习。我建议您花一个小时观看此视频:.NET RIA 服务介绍。事实上,您应该花 2 个小时按照本视频构建示例。

If you are doing business apps then RIA is definitely worth learning. I would recommend you take out an hour and watch this video: .NET RIA Services Intro. In fact you should take 2 hours and work along side this video building the example as you go.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文