Generating Proxies I am writing this post because there just isn’t good information on generating your own proxies for Silverlight accessing a WCF Service. The problem is that svcutil.exe is the wrong tool. It will lead you to the front door of success but not let you into the building. The point is this, I wanted to understand how to connect to a WCF service without right-mouse clicking and choosing “Add Service Reference.” SLSVCUTIL The real trick is to use SLSvcUtil.exe. Did you know that? Here is the path on my 64-bit Windows 7 copy of SLSvcUtil.exe: C:\Program Files (x86)\Microsoft SDKs\Silverlight\v4.0\Tools\SLSvcUtil.exe Do not use this one: C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\SvcUtil.exe The Silverlight-Enabled WCF Service
Here is the project we are trying to connect to from the Silverlight project. Note that we do not want to “Add Service Reference.”Read more: Bruno Terkaly - Developer Evangelist
Here is the project we are trying to connect to from the Silverlight project. Note that we do not want to “Add Service Reference.”Read more: Bruno Terkaly - Developer Evangelist
0 comments:
Post a Comment