C# Object serialization and sending to Server

Started by
1 comment, last by kontrolkl 17 years, 6 months ago
Hello, What I'm trying to do is let say I have a client and a server. The Client create an object of type Request, fill the data, serialize it, send it to the server, and the server deserialize it. My probleme is that, I can't deserialize it because it say : "Cannot find assembly blabla" both the Client and the server have the same class. I found a way to avoid this by creating a DLL containing the object declaration and I added it to both of my projects. What I'd like to know if there is any way to avoid the use of the DLL. Something like a cast or anything. Thank
Advertisement
Whats your server ( IIS, Custom, etc... )?

Also, how are you serializing your object? Xml, Binary, Soap?
This is my own server I'v code with TCP/IP protocol.

I serialize in binary.

This topic is closed to new replies.

Advertisement