Serialize AppDomain
0 answers - 1826 bytes -

Hi Govind,
I am a new member in this group.I want to know the way to serialize the dataset and get it back,
Regards,
Ahmed
Govind Bhavan <govindbhavan (AT) yahoo (DOT) comwrote:
Hi David,
Requirement for such facility is: User is running an
application (database app you can assume) somehow the
connection to server got lost or server may be
down/hang, now suppose user was feeding some entires
into the system and we want such entires to be save, I
know one way is to serialize the dataset and get it
back, but wouldn't it be nice to have such features
like serialization of entire managed memory? Any
trick?
Regards,
Govind
David Lanouette <David.Lanouette (AT) gmail (DOT) comwrote:
Sorry, but to my knowledge, it can't be done. The
problem is that the
App Domain contains many objects, not just your's.
And many (most?)
of the objects in the framework aren't serializable.
Now, for the more important question, what are you
REALLY trying to
accomplish? Do you just need your app to continue
from where it left
off? If so, consider saving the state of your work
and adding logic
to check that.
HTH.
11/10/05, Govind Bhavan <govindbhavan (AT) yahoo (DOT) com>
wrote:
How can we serialize (dumping physically on
harddisk)
the entire running app-domain? And restore it
later-on, completely.
Regards,
Govind
>
>
>
Start your day with Yahoo! - Make it your home
page!
http://www.yahoo.com/r/hs
>
>
>
>
>
>
Yahoo! Groups Links
>
>
>
>
>
>
>
>