locked
What is the logic behind a class in wcf service is decorated with DataContract and Serializable attribute???? RRS feed

  • Question

  • Hi can anyone tell me the reason,

    In wcf we are using datacontract serializatin by default rt???...what benefit we will get if we use both serializable and datacontract???

      [DataContract]
        [Serializable()]
        public class Data
        {

    //Properties and methods

       }


    Latheesh K Contact No:+91-9747369936

    Tuesday, September 20, 2016 6:39 AM

Answers

All replies