Is there a way to create a WCF DataContract on a third party type?
Posted
by Michael Hedgpeth
on Stack Overflow
See other posts from Stack Overflow
or by Michael Hedgpeth
Published on 2010-04-12T14:11:08Z
Indexed on
2010/04/12
14:12 UTC
Read the original article
Hit count: 165
I am migrating to wcf and trying to figure out how I'm going to declare my Data Contracts properly. Some of the types I have been demoting are from a third party that I am unable to change. Are attributes the only way to explicitly declare data contracts in wcf? I know about the auto data contract functionality in 3.5, but the books I'm readin discourage that. And besides, that way assumes all state is publically available, which is oftentimes not the case.
© Stack Overflow or respective owner