obj serialization concept q2

G

Guest

hey all,

if i serialize an object to a file on disk in webapp1, can i take that file
and deserialize in webapp2?

thanks,
rodchar
 
G

Guest

when i try this i get a cast not valid. is this supposed to work. i'm using
the BinaryFormatter and writing it to a text file.

when i restore it in the same assembly it works fine but if i try to restore
in a different app i get errors.
 
J

Joerg Jooss

Thus wrote rodchar,
hey all,

if i serialize an object to a file on disk in webapp1, can i take that
file and deserialize in webapp2?

Assuming webapp2 applies the appropriate deserializer and has access to all
serialized types (or reconstructs equivalent types at runtime): Yes.

Cheers,
 

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

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top