An outlet for my obsession with technology
Wcf, WebGet and Client Config
try:
If you annotate your methods with the WebGet annotation, when a client adds your service as a service ref, there will be no client configuration information.
catch:
To put that another way, if you use the WebGet annotation it’s assumed the calling party is going to use rest.
finally:
if you use the WebGet annotation on your WCF operations they can be called as soap operations
No related posts.
| Print article | This entry was posted by Eric Polerecky on February 17, 2010 at 2:04 am, and is filed under WCF. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |