使用C#中的类从Silverlight应用程序调用WCF服务 [英] Calling a WCF service from Silverlight application using class in c#

查看:100
本文介绍了使用C#中的类从Silverlight应用程序调用WCF服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用c#

推荐答案

中的类,如何从Silverlight页面调用wcf服务. google.co.in/search?q=wcf+service+calls+from+a+silverlight+page&sourceid=ie7&rls=com.microsoft:zh-cn:IE-SearchBox&ie=&oe=& redir_esc =& ei = VuSeTbuPF4e4twfxnvWYAw>此 [ MSDN:如何:为Silverlight客户端构建服务 [ ^ ]
如何:从Silverlight访问服务 [ ^ ]

阅读它,试试看!
You should have done this[^] and got links like this:
MSDN: How to: Build a Service for Silverlight Clients[^]
How to: Access a Service from Silverlight[^]

Read it, try it!


在Google搜索答案时,请记住,要使Silverlight应用与之对话,必须满足一些条件WCF Web服务.当它第一次不起作用时(当然也肯定不会),您将知道需要进行更多的研究.
While you''re searching google for your answer, keep in mind that there are several conditions which must be met in order to get a silverlight app to talk to a WCF web service. When it doesn''t work the first time (and it most certainly won''t), you''ll know what to do more research on.


始终尝试使用msdn.他们将为您提供一些视频和快速入门,它们将帮助您了解需要做的事情.
Always try out msdn. They will give you some videos and quickstarts that will help you understand what you need to do.


这篇关于使用C#中的类从Silverlight应用程序调用WCF服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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