What is the best way to add Javascript interface to and existing RemObjects DataAbstract server(Code-First)?

Hello,

I have an existing RemObjects DataAbstract server I have been trying to use the Javascript samples with. I believe I am missing a Javascript dispatcher. How do I add that to a Code-First server correctly? If that is not the issue please let me know what I need to do to implement it.

Thanks,
Todd

Hello

This is the auto-generated Program.cs code:

		server.NetworkServer.ServerChannel = new RemObjects.SDK.Server.IpHttpServerChannel();
		server.NetworkServer.Port = 8099;
		server.Run(args);
		return 0;

The easiest way to enable JS dispatcher is to do the following:

		var channel = new RemObjects.SDK.Server.IpHttpServerChannel();
		channel.ExtendedDispatchers.Register(new RemObjects.DataAbstract.Server.JavaScriptHttpDispatcher());
		server.NetworkServer.ServerChannel = channel;
		server.NetworkServer.Port = 8099;
		server.Run(args);
		return 0;

Regards