Exemplo n.º 1
0
        private static void Main()
        {
            Title("MessagePack Serialization over TCP/IP [Server]");
            using var serviceHost = new TcpServer(8899);
            serviceHost.RunAsyncQueryService(new QueryService().ExecuteQueryAsync);

            PrintServerReady();
            WaitForEnterKey();
        }
Exemplo n.º 2
0
        private static void Main()
        {
            Title("Entity Framework Core [Server]");
            using var serviceHost = new TcpServer(8899);
            serviceHost.RunAsyncQueryService(new QueryService().ExecuteQueryAsync);

            PrintServerReady();
            WaitForEnterKey();
        }