A co-worker recently asked about the difference between "Add Web Reference" and "Add Service Reference" in Visual Studio when working with WCF/Web services.
The difference between the two is quite simple - with Add Web Reference, Visual Studio uses the wsdl.exe utility to generate the proxy classes (.NET 2.0 compatible) while Add Service Reference uses svcutil.exe (requires .NET 3.0 or higher). When using Add Service Reference, you would also get additional entries in web.config for the proxy.
I *might* have another post that goes into more detail over the differences.
Sunday, December 21, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment