WCF: why both <serivce> and <client> tag defines endpoint?

R

Ryan Liu

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,
 
M

Mr. Arnold

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top