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.
Also visit author’s blog for more WCF interview questions