Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why can't I find System.ServiceModel.WebHttpBinding?

Tags:

c#

.net

wcf

I have added references to the "System.ServiceModel" library, but the "WebHttpBinding" class is not in it. According to the documentation, it should be there (WebHttpBinding). I have tried this with both the 3.5 and 4.0 frameworks.

Thanks for any help.

like image 961
Sako73 Avatar asked Jul 07 '10 17:07

Sako73


1 Answers

You need to add reference to System.ServiceModel.Web (System.ServiceModel.Web.dll).

Check in MSDN.

like image 126
Incognito Avatar answered Sep 23 '22 00:09

Incognito