Wcf – Tutorial on Consuming a WCF service in ASP.Net web site


I'm attempting to create my first WCF service.

I've created the service and now I'm trying to call it from a asp.net (vb) web site and I've tried adding a web reference to it and using the scvutil.exe to consume the service.

So far neither have worked. It's not letting me declare the service in my code. If someone could point me to a good tutorial on how to consume a WCF service in an ASP.Net web site that would be great.

I've found numerous on how to use them with AJAX or silverlight or windows apps but nothing on using it in just a plain old website.

Best Answer

Please see Beginner's Guide to Windows Communication Foundation. It's part of the WCF Developer Center on MSDN, which is full of good resources.

The link above is broken. Some other links I've found while searching for it:

Related Topic