Sign in to follow this  

C# Object serialization and sending to Server

Recommended Posts

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

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this