Prev: Web service code structure
Next: ASP.NET C# code behind call javascript alert then execute next lin
From: Ryan Liu on 31 Jul 2010 20:21 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 1 Aug 2010 02:08 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.
|
Pages: 1 Prev: Web service code structure Next: ASP.NET C# code behind call javascript alert then execute next lin |