...
首页> 外文期刊>MSDN Magazine >Service-Driven Apps With Silverlight 2 And WCf
【24h】

Service-Driven Apps With Silverlight 2 And WCf

机译:使用Silverlight 2和WCf的服务驱动的应用程序

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

It is true that Silverlight 2 makes it easy to build rich internet applications (RIAs) with tremendous graphical prowess. However, it is also true that Silverlight 2 makes it easy to build highly functional line-of-business (LOB) applications. Silverlight 2 supports a subset of the powerful XAML-based data binding that Windows~R Presentation Foundation (WPF) enables. The XAML binding markup extensions in Silverlight 2 simplify the process of binding entities to Silverlight controls. Because they run completely on the client computer, Silverlight applications are isolated from the entities that are managed on the server. Therefore service-based communication through technologies such as RSS, Representational State Transfer (REST), and Windows Communication Foundation (WCF) must be available. Fortunately, Silver-light 2 supports interaction with these and other communication pathways, enabling Silverlight applications to interact seamlessly with back-end LOB applications. I'll demonstrate how to build a Silverlight 2 UI that communicates through WCF to interact with business entities and a database. The business logic, entity model, and data-mapping code can be consumed by any presentation tier. I'll create WCF services to be consumed by a Silverlight 2 app and I'll set up the server hosting the WCF services to allow cross-domain invocation. Note that you can download the examples from the MSDN~R Magazine Web site.
机译:的确,Silverlight 2可以轻松构建具有强大图形能力的富互联网应用程序(RIA)。但是,Silverlight 2确实很容易构建功能强大的业务线(LOB)应用程序。 Silverlight 2支持Windows〜R Presentation Foundation(WPF)启用的强大的基于XAML的数据绑定的子集。 Silverlight 2中的XAML绑定标记扩展简化了将实体绑定到Silverlight控件的过程。因为它们完全在客户端计算机上运行,​​所以Silverlight应用程序与服务器上管理的实体是隔离的。因此,通过RSS,代表性状态传输(REST)和Windows Communication Foundation(WCF)等技术的基于服务的通信必须可用。幸运的是,Silver-light 2支持与这些和其他通信路径的交互,使Silverlight应用程序可以与后端LOB应用程序无缝交互。我将演示如何构建通过WCF进行通信以与业务实体和数据库进行交互的Silverlight 2 UI。任何表示层都可以使用业务逻辑,实体模型和数据映射代码。我将创建由Silverlight 2应用程序使用的WCF服务,并将设置托管WCF服务的服务器以允许跨域调用。请注意,您可以从MSDN〜R Magazine网站下载示例。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号