Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WCF and WF
  4. backward compatibility issues

backward compatibility issues

Scheduled Pinned Locked Moved WCF and WF
csharpwcfsysadminxmlhelp
1 Posts 1 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    I Offline
    impeham
    wrote on last edited by
    #1

    Consider the following version 1 class type (used by old clients): Public class Class1 { Public Prop1 {get;set;} Public Prop2 {get;set;} } In the new server version, a property was moved to a base class (not known to the old client): Public class BaseClass1 { Public Prop1 {get;set;} } Public class Class1 : BaseClass1 { Public Prop2 {get;set;} } "Class1" actually has the exact same structure, but the property "Prop2" is not directly held by it and moved to a base class. I tried to check the XML serialized from the new server to an old client and it seems the same, however, some properties are being serialized correctly and some aren't (the Classes demonstrated here are just an example - the true classes has many properties inside). Is such a change supported by WCF? Is there a way to bypass this problem (the old clients cannot be modified)?

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups