converting object to byte array in silverlight
See the question and my original answer on StackOverflowThere is no such class as BinaryFormatter nor SoapFormatter for Silverlight, but you can use the DataContractJsonSerializer that is supported in Silverlight.