Ejemplo n.º 1
0
        static void RestMain()
        {
            ServiceClient client = new ServiceClient();

            for (int iteration = 0; ; iteration++)
            {
                string input  = char.ConvertFromUtf32('A' + (iteration / 10)) + (iteration % 10).ToString();
                string output = client.Method(input);
                Console.WriteLine(string.Format("Request sent/received, input {0}, output {1}", input, output));
                Thread.Sleep(2 * 1000);
            }
        }