vb.net!

Apr 2, 2014 at 8:28 PM
Hi,

I have tried to change this over to vb.net and host over raw sockets as per an example but how can i test that my jsonmethods are being exposed?

If i connect using chrome it causes an exception but fine from telnet but I don't know how to ask for a list of services etc?

Sorry for the noob question, this is new to me and am trying to find my way!

Thanks!
Coordinator
Apr 3, 2014 at 5:30 AM
Edited Apr 3, 2014 at 5:31 AM
I would recommend starting using the console example. Once you have that working, then move on to the more complicated examples.

To see what methods are available, you could create a method in your service like:
[JsonRpcMethod]
public SMD listMethods()
{
   return Hander.GetSessionHandler().Metadata;
}
Then call it like:
{"method":"listMethods", "params":[], "id":1}
Apr 3, 2014 at 9:16 PM
Hi Austin,

Thank you for the reply, I added the function and tested and it did respond with my methods listed in there, so thank you!

Am hoping to create one json interface that will serve the web gui, forms app and mobile etc rather doing any unique interface for a particular app!

Regards,

Simon