随笔分类 -  WCF

摘要:在 Winddows Vista Windows Server 2008 和 Windows 7 (及更高版本)中,除HTTP端口号为80 的地址外,需要作为管理员启动宿主进程。 要取消这种每次都 启动宿主进程的操作方式 ,就需要命令 Windows 为用户启动主机保留命名空间端口,可使用Netsh.exe命令行功能。eg :1, 对管理员身份在命令符下运行这个命令netsh http add urlacl url=http://+:8880/user="IREC\tony.liu" 阅读全文
posted @ 2013-01-31 13:29 ◇゛   仅此而已 阅读(649) 评论(0) 推荐(0) 编辑
摘要:When attempting to run a service that receives messages over the HTTP transport, you may receive an error similar to the following:Server Error in '/WCFApplication' ApplicationCould not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Vers 阅读全文
posted @ 2013-01-23 10:21 ◇゛   仅此而已 阅读(334) 评论(0) 推荐(0) 编辑
摘要:在IIS中运行服务 ·将项目构建到\bin目录中 为了方便部署,我们需要对服务项目进行配置,让它编译到一个bin目录中。 1. 在Solution Explorer中右键单击DerivativesCalculatorService项目并选择Properties菜单项。 2. 在Project designer中,单击Build选项卡。 3. 将Output path从bin\Debug\改为bin\,如图所示。Project designer中经过调整的Output path属性 4. 选择File | Save All菜单项。 5. 选择File | Close菜单项来关... 阅读全文
posted @ 2013-01-23 10:14 ◇゛   仅此而已 阅读(1574) 评论(5) 推荐(0) 编辑