关于使用 Silverlight 创建业务应用程序

发布于 2024-09-05 03:35:42 字数 239 浏览 6 评论 0原文

我们正处于使用 Silver light 4.0、实体框架和 WCF 创建相对中型企业业务产品应用程序的概念阶段。 1. 是否建议使用 Silverlight 4.0 进行企业业务应用程序开发,还是应该使用 MVC.NET / ASP.NET? 2.我们计划使用基于REST的WCF服务。将信息写回 REST WCF 服务有多复杂?

我感谢并欢迎您的意见/建议。如果您需要任何进一步的详细信息,请告诉我,我很乐意分享。

提前致谢。

We are in the conceptual phase to create a relatively medium size enterprise business product application using Silver light 4.0, Entity Framework and WCF.
1. Is it adivceable to use Silverlight 4.0 for this enterprise business application development or should we go in for MVC.NET / ASP.NET?
2. We have planned to use REST based WCF service. How complex would it be to write the information back to the REST WCF service?

I appreciate and welcome your advice / suggestion. If you need any further details do let me know, i will be happy to share.

Thanks in advance.

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

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

发布评论

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

评论(2

江城子 2024-09-12 03:35:42

如果 ASP.NET (MVC) 和 Silverlight 是我唯一的选择,我会选择 Silverlight。

如果您选择(单独)ASP.NET,请记住 MVC 并不是您唯一的选择。可以说,虽然 MVC 2 是热门话题,但 WebForms 仍在继续发展,并得到 Microsoft 的积极开发和支持。

另外,如果您要使用 Silverlight,那么您无论如何都会使用网页(至少一个),并且当然可以想象(可能是理想的)对其进行划分,以便您可以同时使用两者。

话虽如此,对于企业开发,我真诚地推荐 WPF 而不是 Silverlight,除非它绝对需要跨平台。这就是它的构建目的,并允许您完全释放操作系统的功能,其中最重要的是它开放了 WCF 提供的每个安全选项。

至于您关于将信息写回 REST WCF 服务有多容易的问题,我想这个问题的答案与您的开发人员水平有关。 :) 老实说,这很容易。具体来说,我会研究 WCF RIA 服务来完成此类事情。

If ASP.NET (MVC) and Silverlight are my only choices, I'd take Silverlight.

If you were to choose ASP.NET (alone), remember that MVC isn't your only option. While MVC 2 is the hot ticket on the block, so to speak, WebForms is still being advanced and actively developed and supported by Microsoft.

Also, if you're going to be using Silverlight, you'll be using web pages anyway (at least one) and it's certainly conceivable (possibly desirable) to compartmentalize it such that you can use both.

Having said that, I would honestly recommend WPF over Silverlight for enterprise development unless it's absolutely necessary for it to be cross-platform. It's what it was built for and allows you to completely unleash the capabilities of the OS, not the least of which being that it opens up every security option WCF offers.

As for your question about how easy it is to write information back to a REST WCF service, I suppose the answer to that is relative to how good a developer you are. :) Honestly, it's pretty easy though. Specifically, I'd look into WCF RIA services for that sort of thing.

新雨望断虹 2024-09-12 03:35:42

对于业务线应用程序,我更喜欢 Silverlight。但如果你打算购买 SL4,我认为你也应该考虑一下:

http://christopherdeweese.com/blog2/post/using-silverlight-4-to-browse-netflixs-odata-catalog

Microsoft 最近推出了 OData 作为 WCF 的替代品。我没有太多使用 OData,但它很容易在基于 REST 的服务上工作,而且可以完全控制它。我认为您应该进一步研究您的选择并考虑 OData。

问候。

For Line-of-business apps i will prefer Silverlight. but if you are going for SL4 them i think you should also consider this:

http://christopherdeweese.com/blog2/post/using-silverlight-4-to-browse-netflixs-odata-catalog

Microsoft recently introduced OData as an alternate to WCF. I haven't played much with OData but its easy to work on REST based services but full control over it. I think you should further investigate your options and consider OData as well.

Regards.

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