none
What's the difference between 'add service references' and 'add Web Reference ' RRS feed

  • Question

  •  What's the difference between 'add service references' and 'add Web Reference ' when in a WCF project
    Tuesday, March 31, 2015 4:59 PM

Answers

  • Hi Luck.Vicky,

    >>What's the difference between 'add service references' and 'add Web Reference ' when in a WCF project

    Add Web Reference is a wrapper over wsdl.exe and can be used to create proxies for .NET 1.1 or 2.0 clients. Of course this means when we are pointing to a WCF service we have to be pointing to an endpoint that uses basicHttpBinding.

    Add Service Reference is a wrapper over svcutil.exe and also creates clients proxies. These proxies, however, can only be consumed by .NET 3.5 clients.

    For the detailed information, please try to refer to the following articles:
    http://vjeko.com/blog/web-reference-vs-service-reference-part-1 .
    http://markfreedman.com/index.php/2010/10/13/web-reference-vs-service-reference/ .

    Best Regards,
    Amy Peng


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Luck.Vicky Wednesday, April 1, 2015 9:58 AM
    Wednesday, April 1, 2015 6:22 AM
    Moderator