Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Any alternative to Serializable attribute

Reply
 
Old 11-12-2008   #1 (permalink)
jeeji


 
 

Any alternative to Serializable attribute

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

My System SpecsSystem Spec
Old 11-13-2008   #2 (permalink)
Henning Krause [MVP - Exchange]


 
 

Re: Any alternative to Serializable attribute

Hi,

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

Kind regards,
Henning Krause


"jeeji" <jihad_dk@xxxxxx> wrote in message
news:49b6edf4-85f5-423b-9a54-6a289949bbcc@xxxxxx
Quote:

> 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
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
serializable Hash class in .Net .NET General
psobject non-serializable PowerShell
ADV-NEWS, Dell may offer Linux as alternative to Windows, OpenOffice as an alternative to M$ Office Vista General
How to insert the "modified time" attribute in "date taken" attribute in batch mode-in vista or theough a software? Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46