c# - How does WCF turn a ServiceContract/OperationContract into a Message that can be serialized? -
I experiment with the use of ActiveMQ (with ActiveMQ.NMS binding) to support some cross-platform RPC messaging I am starting
As part of this, I want to be able to define my RPC contracts, like WCF provides - like
[Service Contract] Public Interface IUsers {[OperationContract] IINMrebel & lt; IUser & gt; Zero GetByEmail (string email); }
And I agree to do this work to contribute to the ApackeMQ.NMS.WCF project, and I have some experience in writing custom binding so that I am away from him
However, for the first time I have a conceptual issue in which WCF operates. Obviously, at some level, for "GetByEmail", a call through the proxy on the client channel must be converted into a message and response object so that they can be serialized. I want to know how it works to get a better understanding of WCF.
I am unable to find any documentation that is actually how it is done, and in fact there are quite a number of classes WCF infrastructure.
Does anybody get any indication?
Thank you.
There is a step before: how to use for serialization ?
Connects through WCF binding, and selects the configuration format / protocol for the binding
and the 'how' command is moved to each protocol? I do not know and I do not think digging this (low level) stuff would be very helpful.
Comments
Post a Comment