WCF Error - Could not find default endpoint element that references contract 'UserService.UserService'

前端 未结 13 1814
野趣味
野趣味 2020-11-29 02:27

Any ideas how to fix this?

UserService.UserServiceClient userServiceClient = new UserServiceClient();
            userServiceClient.GetUsersCompleted += new          


        
13条回答
  •  隐瞒了意图╮
    2020-11-29 03:15

    Had to add the service in the calling App.config file to have it work. Make sure that you but it after all . This seemed to work for me.

提交回复
热议问题