OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

JS and C# classes over net

  • Thread starter Thread starter Coder547
  • Start date Start date
C

Coder547

Guest
I have been learning networking coding using C# (WebSockets) and used MessagePack to pack and send classes over the net.

What I would like to do however is use Javascript as client and C# for the server. Is this doable?

So far i have used javascript MessagePack implemenatations to encode json and then decode that on the server

But can I also send C#/JS classes over net? MessagePack C# has Deserialize function but I dont know if I can deserialize JS classes via that (in the server)?

thx!

<p>I have been learning networking coding using C# (WebSockets) and used MessagePack to pack and send classes over the net.</p>
<p>What I would like to do however is use Javascript as client and C# for the server. Is this doable?</p>
<p>So far i have used javascript MessagePack implemenatations to encode json and then decode that on the server</p>
<p>But can I also send C#/JS classes over net? MessagePack C# has Deserialize function but I dont know if I can deserialize JS classes via that (in the server)?</p>
<p>thx!</p>
 
Top