Can anyone point me to a good/simple example of creating a WCF web-service sitting on one website, followed with a simple example consuming that WCF web-service on another website?
A:
http://msdn.microsoft.com/en-us/library/ms751514.aspx has some good examples for using WCF.
Consuming WCF from another site should be failrly straight forward, just don't forget to use a clientaccesspolicy.xml file.
Dan
2009-04-20 20:05:19
I've created a WCF service and now it wants me to use Svcutil.exe to generate (I guess) the class for my client.. does one always have to use Svcutil.exe?
madcolor
2009-04-20 20:34:13
No. You can use "Add Service Reference", which is pretty much the same thing.
John Saunders
2009-04-20 20:56:55
how does one *use* a clientaccesspolicy.xml file? I see them mentioned here and there but have no idea where to get one or how to create my own.
sweeney
2009-08-24 22:22:36
A:
If you are looking for WCF techniques and examples in general, I would highly recommend you visit IDesign's web site. The company was founded by Juval Lowy, one of the preeminent experts on WCF. The downloads are free to access and use; you just have to provide your email address.
Matt Davis
2009-04-21 02:59:29