From: Ryan Liu on
Look at WCF configuration file, little bit teditious ,

On server side, why both <serivce> and <client> tag defines endpoints?

And both client and server side has <client> element. And are same.

So seems server side <client> is redudent.
---

Why is the resource best explain all those configurations? MSDN doc is too
brief.

Thanks,

From: Mr. Arnold on
On 7/31/2010 8:21 PM, Ryan Liu wrote:
> Look at WCF configuration file, little bit teditious ,
>
> On server side, why both <serivce> and <client> tag defines endpoints?
>
> And both client and server side has <client> element. And are same.
>
> So seems server side <client> is redudent.

No... the configs are not the same. And besides, it's a two way
communications and they have to be on the same page sort of speaking
with client/service configurations, and WCF is more than just Web
service communications.

It can do HTTP, TCP/IP, MSMQ and Named Pipe client/service
communications. So the configs pretty much have to be generic to deal
with all the various properties that can be set in a config file for a
WCF client/service.