银光中国网为方便大家学习Silverlight技术,特别推出Silverlight免费空间服务。看到论坛上有不少开发人员询问在部署WCF或者Web
Service应用时出现异常,无法部署成功,这里我做一个简单的Web Service应用部署演示,希望能够帮到大家。

我在银光中国网下载一个网友提供的“Silverlight操作Access数据库”实例代码。

打开源代码项目,结构如下:

银光中国网免费Silverlight空间Web Service部署方法其中accessdb是你在银光中国网申请到的免费空间帐号目录,需要根据个人申请名不同修改。

<configuration>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding
name="WebService1Soap" maxBufferSize="2147483647"
maxReceivedMessageSize="2147483647">
<security mode="None"
/>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint
address="http://space.silverlightchina.net/accessdb/WebService1.asmx"
binding="basicHttpBinding"
bindingConfiguration="WebService1Soap"
contract="ServiceReference1.WebService1Soap"
name="WebService1Soap"
/>
</client>
</system.serviceModel>
</configuration>


完成修改后,可以直接编译项目,在编译成功后,即可发布项目到本地目录:

银光中国网免费Silverlight空间Web Service部署方法

到此一个Web
Service访问Access数据库应用部署成功。

如果你在部署中遇到问题,欢迎留言讨论。

相关文章:

  • 2022-12-23
  • 2022-02-09
  • 2021-11-20
  • 2021-12-14
  • 2021-06-25
  • 2022-12-23
  • 2022-02-09
  • 2021-06-21
猜你喜欢
  • 2021-12-04
  • 2021-12-09
  • 2021-12-09
  • 2021-07-17
  • 2021-06-20
  • 2022-12-23
相关资源
相似解决方案