WCF Interview questions:- Which binding do we need to use for WCF REST?
- By Shiv Prasad Koirala in .Net
- Nov 16th, 2011
- 16913
- 0
This is one of the asked WCF interview questions during the interview. So one proceed answer as the following: -
For WCF REST we need to use WebHttpBinding. WebhttpBinding is enabled by as shown in the below code snippet.
<endpointBehaviors>
<behavior name="NewBehavior0">
<webHttp />
</behavior>
</endpointBehaviors>
Also see our following video on explanation of REST: -
Click and get to see more on WCF Interview questions series.
Regards,
Also visit author's blog for more WCF interview questions
Shiv Prasad Koirala
Visit us @ www.questpond.com or call us at 022-66752917... read more