I need to generate or define new class based on deserialization serialized class. So I want to transfer class definition from server to client to have access to it’s properties later.
Is it possible and how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One portable way to transfer the property definitions and the data itself is to use the JSON serializer.
You can deserialize into a
dynamicobject using JSON.NetDeserialize json object into dynamic object using Json.net