0

In C# I use the jsonignore attributes for some calculated properties on various classes. This works fine when serializing the objects to the database and deserializing them from the database again. The properties are not part of the data. But on the client-side (javascript) I would like to include the these properties in the payload from the server, but they are not part of it because of the attribute. Is there any way I can exclude properties from being saved to the database but still being part on the json payload returned to the client?

thanks

Hank

Hank Rearden
  • 87
  • 1
  • 1
  • 10

0 Answers0