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

            PrintServerReady();
            WaitForEnterKey();
        }