none
Beginner Question about WCF RRS feed

  • Question

  • Hi,

    I never used WCF.

    I have PHP website on my linux web host.

    I want to create a WCF web service and host it on our Windows Server 2016 which also havs SQL Server 2016 so my PHP will call my WCF through JQuery.

    is this possible?

    Can you guide please...

    Thanks,

    Jassim

    Sunday, February 12, 2017 4:52 PM

All replies

  • Hi Jassim,

    >> I want to create a WCF web service and host it on our Windows Server 2016 which also havs SQL Server 2016 so my PHP will call my WCF through JQuery.

    Yes, it is possible, and you could try WCF Rest Service.

    For creating WCF Rest Service, I suggest you refer the link below:

    # How to: Create a Basic WCF Web HTTP Service

    https://msdn.microsoft.com/en-us/library/bb412178(v=vs.110).aspx

    For calling WCF Rest Service from JQuery, I suggest you refer the link below:

    # jQuery AJAX calls to a WCF REST Service

    https://weblog.west-wind.com/posts/2008/Apr/21/jQuery-AJAX-calls-to-a-WCF-REST-Service

    Best Regards,

    Edward

    Disclaimer: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    Monday, February 13, 2017 2:03 AM