static void Main(string[] args) { // http://localhost:8080/HelloWcfService/mex SignServiceClient client = new SignServiceClient("BasicHttpBinding_ISignService"); SignModel model = new SignModel(); model.Email = "*****@*****.**"; model.Password = "******"; var r = client.SignIn(model); Console.WriteLine(r); }
public static void Main(string[] args) { client = new SignServiceClient(); writetext = new StreamWriter("log.txt"); writeToFile("Application started"); foreach (String test in tests) { performTest(test); } writeToFile("\nApplication ended, all logs recorded in log.txt"); writetext.Close(); client.Close(); String filePath = Console.ReadLine(); }