WCF DTO versions

Posted by cvista on Stack Overflow See other posts from Stack Overflow or by cvista
Published on 2010-05-24T12:03:20Z Indexed on 2010/05/24 12:21 UTC
Read the original article Hit count: 454

Filed under:
|
|

Hi

I have some services at the moment that return a dto with the following fields:

[DataMember]
public int Id { get; set; }
[DataMember]
public string Name { get; set; }

and I want to add more to this service by adding the following properties:

[DataMember]
public virtual DateTime StartDate { get; set; }

I'm not in a position where i can update the consumers of these services though - the client does that themselves.

My question is - will the old clients be able to just skip these new properties? and the new ones take advantage of them or will the serialization be an issue with the new properties?

w://

© Stack Overflow or respective owner

Related posts about wcf

Related posts about webservice