Pergunta

I'm trying to make a website work with a state server, but I'm having issues where classes need to be marked as [Serializable] to work. Problem is we have tons of classes. It just seems like a red flag to mark all my classes as Serializable.

Any thoughts?

Foi útil?

Solução

Went with Garrison Neely's answer in comment above:

Instead of marking every class as Serializable, look for the ones that are being sent back and forth between your site and state service. Hopefully that's a smaller list. – Garrison Neely Jul 12 at 20:50

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top