简体   繁体   English

使用WCF服务添加Silverlight应用程序的服务参考

[英]Adding service reference for Silverlight Application with WCF services

Im totally new to WCF. 我对WCF完全陌生。 Trying to create a Silverlight application with WCF services. 尝试使用WCF服务创建Silverlight应用程序。

Im not sure what address to fill in for adding the service reference for the client side. 我不确定要为客户端添加服务参考填写哪个地址。

Also, what do I need to specify in the Web config file in the server side? 另外,我需要在服务器端的Web配置文件中指定什么?

Thanks. 谢谢。

There are a few different kinds of WCF Services. 有几种不同的WCF服务。 WCF Services, WCF Data Services & WCF RIA Services. WCF服务,WCF数据服务和WCF RIA服务。 For a bit of background on these types/kinds check out this forum entry . 有关这些类型/种类的背景知识,请查看此论坛条目

If you are using just WCF Services, here's an intro and a sample and another sample that should get you going. 如果您仅使用WCF服务,则这里有一个介绍 和一个示例 ,另一个示例应该可以助您一臂之力。 :-) :-)

Here's a great overview from Shawn Wildermuth on creating a WCF Data service & consuming it in various ways. 这是Shawn Wildermuth的精彩概述,内容涉及创建WCF数据服务并以各种方式使用它。

WCF RIA Services are specifically built/optimized for Silverlight. WCF RIA服务是针对Silverlight专门构建/优化的。 If you are in control of the Service as well you might want to look into creating a RIA Service instead of just a WCF Data Service. 如果您也可以控制服务,则可能需要研究创建RIA服务,而不仅仅是WCF数据服务。 Here's an intro to RIA Services . 这是RIA Services简介

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 WCF Silverlight服务参考 - WCF Silverlight Service Reference 将模型添加到启用了Silverlight WCF ria服务的应用程序 - Adding Models to the silverlight wcf ria services enabled application Silverlight应用程序中的WCF服务 - WCF Service in Silverlight Application 在Silverlight中使用WCF时添加服务引用有什么问题? - What is wrong with adding a service reference when consuming WCF in Silverlight? WCF服务异步回调后将动态控件添加到Silverlight应用程序 - Adding dynamic controls to Silverlight application after WCF Service Asynchronous Callback 将对WCF服务的引用添加到Silverlight 4项目时,显示“对象引用未设置为对象的实例”错误 - “Object reference not set to an instance of an object” error shows when adding a reference to a WCF service to a Silverlight 4 project 在Silverlight项目中向WCF服务添加服务引用,默认为DataMembers的XmlSerialization而不是SOAPSerilaization - Adding Service Reference to a WCF Service in Silverlight project defaulting to XmlSerialization for DataMembers instead of SOAPSerilaization 如何在Silverlight中动态更新WCF服务参考? - How to update WCF service reference dynamically in silverlight? Silverlight 4安全LOB应用程序 - WCF与WCF Ria服务 - Silverlight 4 Secure LOB Application - WCF vs WCF Ria Services Silverlight应用程序从WCF服务请求文件 - Silverlight application requesting a file from a WCF service
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM