Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

wcf endpoint - address attribute usage?

$
0
0

Hello - an endpoint has abc attributes: address, binding, contract. However, I've written WCF services with an address attribute value of "" and I'm able add the service reference to a client and call the endpoint without issue.

It appears that the client app will auto-populate the endpoint address attribute value based on the url that's provided when adding the service reference to the client app.  So is the address attribute really only needed in order to provide a logical relative endpoint address when defining multiple endpoints for a service? 


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>