Example #1
0
        public static void GetDataWcf()
        {
            var client   = new WcfReference.TestServiceClient("TestServicePoint");
            var response = client.GetTestData(new WcfReference.DataRequest {
                Type = WcfReference.DataType.CLIENT
            });

            if (response != null && response.Data != null)
            {
                Console.WriteLine("Total WCF Data Records: {0}", response.Data.Count);
            }
        }
Example #2
0
        public static void WarmupWcf()
        {
            var client = new WcfReference.TestServiceClient("TestServicePoint");

            client.Warmup(new WcfReference.EmptyMessage());
        }