Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Proxies » Contracts   (RSS)

Private Data Members

Why does a data contract with private or internal members generate a proxy with public fields? The obvious answer is that the representation for data contracts doesn't contain information about member visibility but that just leads to the question of

Differences in Guid Serialization

Why do the guids in my contract turn into strings when generating a client? You're probably mixing different types of serializers between the client and service. There's nothing wrong with this and the generated client will work correctly but you don't

Calling Services Without a Contract

Contracts are largely an illusion about the kinds of messages that can be exchanged between a client and a server. From a practical perspective, a service can describe itself using any contract it likes but the true measure of compatibility comes from

ChannelFactory Contract and Generated Types

Last Monday we had an introduction to the contract associated with a ChannelFactory . Today's article is a tangential continuation of that discussion. Let's take a look at the typed version of the contract for the same echo service that we had before.

Changing the ChannelFactory Contract

A ChannelFactory is a local client endpoint that can stamp out proxy instances for a remote service endpoint. Knowing this detail about the local endpoint is essential when the client endpoint that gets automatically generated for the ChannelFactory doesn’t
 
Page view tracker