WCF服务未使用其合同! [英] WCF Service not using it s contract!

查看:78
本文介绍了WCF服务未使用其合同!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个探索性应用程序,正在处理该服务从其队列客户端(使用MSMQ)读取消息的位置.我已经对此进行了扩展,以包括客户端的合同和关联的队列,该队列将允许服务使用MSMQ来响应客户端.

当我编译此最新添加内容时,该服务不再在其合同中触发该方法-编写行不再出现在控制台窗口中-但消息照常从队列中弹出.

当我开始寻找错误时有任何提示吗?

I have an exploratory application that I am working on where the service has been reading messages from its client of a queue (using MSMQ). I have expanded this to include a contract on the client side and an associated queue which would allow the service to respond to the client still using MSMQ.

When I compiled this latest addition up, the service no longer fires the method in its contract - the writelines are no longer appearing in the console window - but the messages are being popped off the queue as normal.

Any hints as I begin my bug hunt?

推荐答案

在app.config中出现试点错误. ...
Pilot error in the app.config....................


这篇关于WCF服务未使用其合同!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆