使用WCF客户端部署Silverlight应用程序 [英] Deploy Silverlight Application with WCF Client

查看:87
本文介绍了使用WCF客户端部署Silverlight应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我在Silverlight应用程序中有一个WCF服务,该服务从数据库中检索了一些数据.我已经在我的Silverlight应用程序中添加了一个服务引用.在我的系统中它运行正常.现在我想做的就是创建一个Webset.我的Silverlight应用程序以及WCF服务.当我在其他计算机上安装该安装程序时,它应该托管在IIS中.该计算机的用户可以访问数据! mahine服务运行正常,但数据未填充应用程序.
任何人都可以帮忙...
谢谢,
Prasant

Hi All,
I have a WCF Service in my Silverlight Application which retrieved some data from database.i have added a service reference in my silverlight application.which is working fine in my system.now what i wanted to do is i just wanted to crete a webset up of my silverlight application as well as my WCF Service.when i install that setup in other machine it should host in the IIS.the user of that machine can able to access the data!!!I have created the web setup and installed in other mahine service is working fine but data is not populating the application.
Can anyone help on this please...
Thanks,
Prasant

推荐答案

这可能是Web服务连接中的问题.启动wcftestclient应用程序(随VS2008工具包一起提供)以测试您是否获取了正确的数据.如果没有,则部署的WCF服务中将出现问题.


理想情况下,您需要在Web服务器中安装WCF服务部件,在应用程序服务器中安装应用程序逻辑,在DB服务器中安装数据库.应该只是将客户端二进制文件部署在不同的最终用户计算机上.
It could be the problem in web service connection. Launch wcftestclient application (which comes along with VS2008 tools package) to test whether you are getting the proper data. If not, there will be a problem in deployed WCF service.


Ideally, you need to install WCF service part in web server, application logic in app server and database in DB server. Just the client binaries are supposed to be deployed in different end user machine.


这篇关于使用WCF客户端部署Silverlight应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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