Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var client = new DemoServiceClient();
            Response.Write(client.GetDayOfWeek(DateTime.Now));

            Response.Write(client.GetStringRepeatedCount("Create a Web service library which accepts two string as parameters. It should return the number of times the second string contains the first string. Test it with the integrated WCF client.", "the"));
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            var client = new DemoServiceClient();

            Response.Write(client.GetDayOfWeek(DateTime.Now));

            Response.Write(client.GetStringRepeatedCount("Create a Web service library which accepts two string as parameters. It should return the number of times the second string contains the first string. Test it with the integrated WCF client.", "the"));
        }