c# - How to add service reference in client project? -
i totally new wcf please indicate if find doing totally wrong here. have created wcf service project (my service class dervied servicebase class) endpoint address binding set basichttpbinding. need create client application can call apis service. quesion in client application how can add service reference service. need publish service first under iis (which mean have have iis available on machine too) or there other way of adding service reference too.
you need running service, metadata being published. can iis, other valid hosting option.
i write simple console application self-host wcf service, reason. makes super easy debug, update service references during earlier phases of development, , can dramatically simplify work when working on client , server simultaneously.
Comments
Post a Comment