Click here to Skip to main content
15,881,380 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Resource dls Pin
Mark Salsbery17-Apr-09 9:02
Mark Salsbery17-Apr-09 9:02 
QuestionHow bind 3 level master-detail scenario into datagrid? Pin
enochenoch2k16-Apr-09 14:51
enochenoch2k16-Apr-09 14:51 
QuestionWCF Issue Pin
Tauseef A16-Apr-09 8:31
Tauseef A16-Apr-09 8:31 
AnswerRe: WCF Issue Pin
Wes Aday16-Apr-09 9:23
professionalWes Aday16-Apr-09 9:23 
QuestionRe: WCF Issue Pin
Tauseef A16-Apr-09 11:06
Tauseef A16-Apr-09 11:06 
AnswerRe: WCF Issue Pin
Wes Aday16-Apr-09 12:08
professionalWes Aday16-Apr-09 12:08 
QuestionRe: WCF Issue Pin
Tauseef A16-Apr-09 14:30
Tauseef A16-Apr-09 14:30 
AnswerRe: WCF Issue Pin
Wes Aday17-Apr-09 3:18
professionalWes Aday17-Apr-09 3:18 
ghumman63 wrote:
i need to mark it with datacontract attribute


As Pete said. You mark the class with a DataContract attribute when you are sending the object through WCF from host to client or from client to host. When the object is sent from one to the other, the object is serialized when sent, and deserialized when it gets to it's destination. The DataContract tells WFC how to serialize the object and how to deserialize it.

In your example, you are directly instatiating the class not deserializing it.

Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns

Help humanity, join the CodeProject grid computing team here

AnswerRe: WCF Issue Pin
Pete O'Hanlon16-Apr-09 12:18
mvePete O'Hanlon16-Apr-09 12:18 
QuestionRe: WCF Issue Pin
Tauseef A16-Apr-09 14:32
Tauseef A16-Apr-09 14:32 
Questiondata contract issu Pin
Tauseef A16-Apr-09 4:26
Tauseef A16-Apr-09 4:26 
Questionsilverlight made website slow very much Pin
Gaurav Mahajan16-Apr-09 1:32
Gaurav Mahajan16-Apr-09 1:32 
AnswerRe: silverlight made website slow very much Pin
Mark Salsbery16-Apr-09 9:46
Mark Salsbery16-Apr-09 9:46 
GeneralRe: silverlight made website slow very much Pin
Gaurav Mahajan16-Apr-09 16:44
Gaurav Mahajan16-Apr-09 16:44 
GeneralRe: silverlight made website slow very much Pin
Mark Salsbery17-Apr-09 8:56
Mark Salsbery17-Apr-09 8:56 
GeneralRe: silverlight made website slow very much Pin
ToddHileHoffer22-Apr-09 14:28
ToddHileHoffer22-Apr-09 14:28 
AnswerRe: silverlight made website slow very much Pin
Braulio Dez18-Apr-09 9:15
Braulio Dez18-Apr-09 9:15 
QuestionProblem with WPF Combobox Pin
babongita15-Apr-09 8:31
babongita15-Apr-09 8:31 
QuestionRe: Problem with WPF Combobox Pin
Mark Salsbery15-Apr-09 8:48
Mark Salsbery15-Apr-09 8:48 
AnswerRe: Problem with WPF Combobox Pin
babongita15-Apr-09 9:14
babongita15-Apr-09 9:14 
AnswerRe: Problem with WPF Combobox Pin
pc.rajesh.singh17-Apr-09 5:34
pc.rajesh.singh17-Apr-09 5:34 
QuestionHow Do I fix this runtime error? [modified] Pin
#realJSOP15-Apr-09 2:57
mve#realJSOP15-Apr-09 2:57 
AnswerRe: How Do I fix this runtime error? Pin
Pete O'Hanlon15-Apr-09 4:10
mvePete O'Hanlon15-Apr-09 4:10 
GeneralRe: How Do I fix this runtime error? Pin
#realJSOP15-Apr-09 8:16
mve#realJSOP15-Apr-09 8:16 
GeneralRe: How Do I fix this runtime error? Pin
Pete O'Hanlon15-Apr-09 9:03
mvePete O'Hanlon15-Apr-09 9:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.