I have a windows phone application that uses WCF services to get and store data on the DB. I added a service reference to the WCF service and VS generated the client proxy and the configuration file.
The problem starts when I try to call methods on the server.
The first call causes a timeout, the server doesn't even receive the request. Only in the second call the server receives the request.
Win7MobileServiceClient client = new Win7MobileServiceClient();
client.GetUserCompleted += new EventHandler<ServiceReference1.GetUserCompletedEventArgs>(client_GetUserCompleted);
client.GetUserAsync(int.Parse(txtID.Text));
Thanks