Multiple server channels in ApplicationServer

Hello,

is it possible to use the ApplicationServer intrastructure in a command line server with multiple server channels? If not, wht would be the right way to do this?

Cheers!

Hi,

ApplicationServer supports only one ServerChannel.

if you want to use multiply server channels, you can launch additional ones in old way.

we have MegaDemo sample (.NET) that demonstrates old way.

Hi Evgeny,
sorry for my late reply.

I am creating .NET Standard class libraries for Unity. You recommended using ApplicationServer for this scenario. I would love to not use it, but it seems like I have no other choice :grinning:

Hi,

you can use behavior w/o ApplicationServer like we do with MegaDemo sample (.NET).

one remark: don’t forget to register code-first services in the startup code of your server with code like

if (!RemObjects.SDK.Server.Configuration.Loaded)
    RemObjects.SDK.Server.Configuration.Load("MyProject" , "MyProject.Server")

thanks, I will give it a shot!