This is just another pass-through, but I found this resource invaluable when developing PhindMe's API and testing it in a simple fassion. It describes WebGet and WebInvoke briefly, but also provides examples and screenshots. These examples also provide the default URL format which you'll need if you want to do quick testing via a WebConnection or browser. Nothing profound here: just good solid reference material.
http://blog.donnfelker.com/post/How-To-Implement-a-simple-REST-Services-in-WCF-35-Part-1.aspx
Showing posts with label Microsoft. Show all posts
Showing posts with label Microsoft. Show all posts
Thursday, February 12, 2009
WCF WebInvoke & WebGet
This is the best article I could find explaining the WebInvoke and WebGet attributes. These can be most useful when dealing with legacy clients, or minimally non-WCF clients.
http://jeffbarnes.net/portal/blogs/jeff_barnes/archive/2007/11/28/wcf-3-5-webinvoke-attribute.aspx
One little tip, you'll most likely have to set BodyStyle=WrappedRequest if your function contract defines multiple parameters.
http://jeffbarnes.net/portal/blogs/jeff_barnes/archive/2007/11/28/wcf-3-5-webinvoke-attribute.aspx
One little tip, you'll most likely have to set BodyStyle=WrappedRequest if your function contract defines multiple parameters.
Choosing your WCF Binding
I found this great article describing how to choose the correct WCF binding. It doesn't include WebHttpBinding, but it would be another decision point on the way to Basic. Enjoy.
http://weblogs.asp.net/spano/archive/2007/10/02/choosing-the-right-wcf-binding.aspx
http://weblogs.asp.net/spano/archive/2007/10/02/choosing-the-right-wcf-binding.aspx
Subscribe to:
Posts (Atom)
