Does Visual Studio 2015 community support calling REST service in IDE? RRS feed

  • Question

  • I am a beginner of WCF service.  I developed a RESTful WCF service. It worked in IDE of VS 2015 community when I ran the service in browser as this:


    I could see the data returned, so I assumed the service code worked.

    Then I added a web project to the same solution to consume the service.  I created a simple page to call this service with ajax, it returned with ERR_CONNECTION_REFUSED

    My questions:

    1. Is there any settings need to be done to make this web page work? If this is the case, can somebody make a sample project using the visual studio community 2015 (Make a WCF rest service and consume it with a web page)? The reason I mention VS2015 community is because I suspect there is a bug

    2. Or must I publish the REST service to IIS in order to consumes the service in IDE?

    Thanks a ton.

    • Edited by OneLearner Monday, February 1, 2016 2:49 AM
    Monday, February 1, 2016 2:48 AM


All replies