摘要: There are some ways to hosting WCF service as below:1. IIS; 2. Console App; 3. Window ServiceUsing Console Application to host WCF service:Step 1:Step 2: Add a Class Library project : 'Contract'Step 3: Add a Interface : 'IHelloWorld'using System.ServiceModel;namespace Contract{ [Serv 阅读全文
posted @ 2013-02-16 19:09 Vincent.Dr 阅读(184) 评论(0) 推荐(0)
摘要: Step 1:Step 2:Step 3:Step 4:Step 5:Step 6:Step 7:Step 8:Step 9:Step 10:Step 11:Step 12:Step 13:Step 14:Step 15:Step 16:Step 17:Step 18:Step 19:Step 20:Step 21:Ctrl + S, save the config.<?xml version="1.0" encoding="utf-8"?><configuration> <system.serviceModel> & 阅读全文
posted @ 2013-02-16 18:27 Vincent.Dr 阅读(182) 评论(0) 推荐(0)
摘要: Win7环境下,写了下学习WCF的示例,出现错误:HTTP 无法注册 URL http://+:xxxxx/ServicesName/。进程不具有此命名空间的访问权限。--solution--以管理员身份运行VS。 阅读全文
posted @ 2013-02-16 14:44 Vincent.Dr 阅读(508) 评论(0) 推荐(0)