I need my service to use other services, and I need to configure these dependencies in the code. How can I do it?
It is very easy to configure through the following (example):
<client> <endpoint name="registerService" address="http://127.0.0.1/registration/" binding="basicHttpBinding" contract="*"/> </client>
But for some reason, finding the code equivalent is not as easy as I thought it would be.
source share