首页 > 其他 > 详细

wcf 配置

时间:2015-03-05 12:37:06      阅读:230      评论:0      收藏:0      [点我收藏+]

wcf 开发

[ServiceContract]-----接口定义1
public interface ILog
{
[OperationContract]------接口定义1
List<LogEntity> GetAll();

[OperationContract]
List<LogEntity> GetMonthLog(string year, string month);

}

1和2是必须的

1、端口开放(入站规则)

2、服务启动

3、引用服务

wcf 配置

原文:http://www.cnblogs.com/sdaulldd/p/4315256.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!