Why can't I find System.ServiceModel.WebHttpBinding?
I have added references to the "System.ServiceModel" library, but the "WebHttpBinding" class is not in it. According to the documentation, it should be开发者_如何学Python there (WebHttpBinding). I have tried this with both the 3.5 and 4.0 frameworks.
Thanks for any help.
You need to add reference to System.ServiceModel.Web (System.ServiceModel.Web.dll).
Check in MSDN.
精彩评论