Any alternative to Serializable attribute

J

jeeji

Hi

We recently want to make our web application store session state
values in an SQL server, rather than have them in memory.
For this to happen, I noticed that all the objects we want to store
are not marked with the Serializable attribute.
Our application is really large, and we have a lot of classes to mark
which we would like being stored. Is there anyway of doing this some
easier way?
Any compile option, or way to force all member variable of a class to
be serializable if the containing class is?

Thank you in advance
Jeeji
 
H

Henning Krause [MVP - Exchange]

Hi,

all other options (like implementing ISerializable) require even more work.
And there is no compiler switch to do this.

Kind regards,
Henning Krause
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top