Last post Dec 28, 2014 10:28 PM by Shawn - MSFT
Dec 27, 2014 01:09 AM|blue_lightning|LINK
I followed this instruction here then here and created in my solution a WFC Web Application (RestService)
and a ASP.NET Empty Website (TestClient), but they didn't connect. I'm not sure did the jQuery function even run at all.
Dec 28, 2014 11:29 AM|Ken Tucker|LINK
I would use the internet explorer developer tools to watch the network traffic on the web page. If your ajax is going you should see the request and the response.
Dec 28, 2014 10:28 PM|Shawn - MSFT|LINK
For this scenario, after you develop the WCF RESTful service, you need deploy the service so that the service would be consumed.
Either you could deploy it in the iis or just run the WCF RESTful service application in the client side WCF Service Host.
Then, you could try to test the rest service in your client browser to check whether you could access to the service. If it can be accessed, it means the service is hosted well, otherwise, not.
After the above checking, you could Consume a RESTful web service with jQuery and Ajax.