WCF Exposing Metadata or having the client implement the interface? -
what pro / cons having client consume wcf service either via adding reference service (and generated you) or having client implement shared interface , them having code class manually?
thanks!
in general, if don't use code generation, you'll have write hand otherwise generated you.
the "maintenance issue" andrew mentions solved using "update service reference" when service contract changes. if becomes hassle, create separate project contain of proxy classes. need use "update service reference" in 1 place.
of course, if service contract or related contracts change in incompatable manner, client code have change. that's true regardless of technique use.
Comments
Post a Comment