130 Views
Over the last week or so I have been playing around with a simple WCF service to send and receive data from JavaScript using JQuery. I thought that this would be a lot easier than I found it. The other interesting thing I found is that a few people seem to have had trouble getting the two to connect and work. When I set up a standard Service in Visual Studio 2010. I thought it would be easy. You would just use the $.ajax to send through the request and wait for an answer from the service. Now this is probably due to the fact that I am not familiar with WCF, but I thought it would be simple. Well I found that a few things did not work. So What I have done is created a simple project based in MVC 3 (not that that even matters, Since there is only one page on the website), and a service.