Beispiel #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();
        }
Beispiel #2
0
        private static void Main()
        {
            Title("Entity Framework Core [Server]");
            using var serviceHost = new TcpServer(8899);
            serviceHost.RunAsyncQueryService(new QueryService().ExecuteQueryAsync);

            PrintServerReady();
            WaitForEnterKey();
        }