An error in the MSDN walk-through - “How to: Host WCF in a Windows Service Using TCP”

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 19:58:28
Matt

I had the same issue (as you know from the original post in stackoverflow).

Alternatively, you can rename the class Service1 in the namespace WcfServiceLibrary1 to avoid conflicts.

you have to put using WcfServiceLibrary1; at the top

I also found that the the article references the wrong Service Name. When I tried it I had to use:

net.tcp://localhost:8526/Service1/mex

in step 8 instead of what was listed.

net.tcp://localhost:8526/Service1
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!