Xpode.com        Click here to Print this article.

WCF interview questions: - Using which binding we can build WCF REST?

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 more on WCFInterview questions series.

Regards, 

 Also visit author’s blog for more WCF interview questions




http://www.questpond.com

Contributed by:
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site http://www.questpond.com for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers

Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=507

Click here to go on website