![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
WCF
文章平均质量分 77
diandian82
这个作者很懒,什么都没留下…
展开
-
Transfer file with WCF TCP binding.
1. Configure your app.config to ensure you have a valid service bind and host. If you dont know how to do it, please see my previous posts about WCF. 2. You have to create message contract for th原创 2008-12-29 16:05:00 · 1130 阅读 · 0 评论 -
Create multiple endpoints using config file in WCF
In the server side, you have to create a new windows form solution, this app will be the host of the service. Add a class file named "ServiceClass.cs"using System;using System.Collections.Gen原创 2008-12-19 14:44:00 · 630 阅读 · 0 评论 -
Error handling in WCF
There are 2 ways of handling errors in WCF. 1. Set the behavior property to enable client side to get the server erroryou can add this XML delaration to your behavior.serviceDebug includeExc原创 2008-12-24 16:31:00 · 616 阅读 · 0 评论 -
《博客园精华集》WCF筛选结果(共84篇)
链接如下: 博客园精华集,WCF精选转载 2009-09-22 13:34:00 · 1274 阅读 · 0 评论 -
给WCF增加提交数据的容量。
<br />WCF默认可被提交数据的容量很小,如果数据量稍大,就会出现The remote server returned an error: NotFound,这个错误。必须要手动修改web.config来增加其容量。<br /> <br />示例如下:<br /> <br /> <br /><system.serviceModel> <behaviors> <serviceBehaviors> <behavior>原创 2010-10-27 21:33:00 · 704 阅读 · 0 评论 -
Silverlight中使用Json
Silverlight中使用WCF/Json原创 2010-11-02 12:55:00 · 651 阅读 · 0 评论 -
Load foreign key properties(Navigation Properities) in Silvelright WCF Ria services.
RIA service, silverlight,原创 2010-11-04 14:33:00 · 897 阅读 · 0 评论 -
Use Matadata file to add attributes for properties in Ria service
When you are using Ria service. You will have to create your own ADO.net entity modal. In this case, the designer will generate a lot code for you. But in the generated code, you want to add some useful attributes for some column. such as [Include] attribu原创 2010-11-05 11:18:00 · 608 阅读 · 0 评论 -
How to call SQL SP in WCF ria services.
<br />// Definition scalar method in DomainService[Invoke]public int TestGetScalar() { object r= this.ObjectContext.TestGetScalar().FirstOrDefault(); if (r == null) return 0; else原创 2010-11-22 10:03:00 · 563 阅读 · 0 评论