IExtensibleDataObject for Versioning round-trip problem
This situation of new-old-new interaction is called a versioning round-trip. WCF supports handling of versioning round-trips by allowing a service (or client) with knowledge of only the old contract to simply pass through the state of the members defined in the new contract without dropping them.
The problem is how to enable services/clients that are not aware of the new members to serialize and deserialize those unknown members without their schemas, and where to store them between calls.
WCF’s
solution is to have the data contract type implement the IExtensibleDataObject interface
The problem is how to enable services/clients that are not aware of the new members to serialize and deserialize those unknown members without their schemas, and where to store them between calls.
WCF’s
solution is to have the data contract type implement the IExtensibleDataObject interface
댓글
댓글 쓰기