摘要: 1.代码using System;using System.Collections.Generic;using System.Linq;using System.Runtime.Serialization;using System.ServiceModel;using System.Text;namespace WcfServiceLibrary1{ // 注意: 使用“重构”菜单上的“重命名”命令,可以同时更改代码和配置文件中的接口名“IService1”。 [ServiceContract] public interface IService1 { [... 阅读全文
posted @ 2014-01-23 12:10 sulin 阅读(495) 评论(0) 推荐(0)
摘要: 1 使用 netsh.exe 工具C:\Windows\system32>netsh http add urlacl url=http://+:8733/WcfServiceLibrary1 user=lin.su已成功添加 URL 保留项备注:为了使没有管理员权限的用户能够开发 WCF 服务,在安装 Visual Studio 的过程中为命名空间“http://+:8731/Design_Time_Addresses”创建了一个 ACL(访 问控制列表)具体使用方法 netsh.exe 阅读全文
posted @ 2014-01-23 11:46 sulin 阅读(652) 评论(1) 推荐(0)