Could not find default endpoint element that references contract

前端 未结 7 1302
傲寒
傲寒 2020-12-09 11:13

I know this has been beaten to death, but I cannot get this to work as it should. I have a WCF service with several contracts. They all work fine when calling them directly

7条回答
  •  醉话见心
    2020-12-09 11:37

    If we have layered architecture make sure to

    1) add app.config in "all projects"
    2) add service config details in all app.config
    3) run the project
    

提交回复
热议问题