The WCF starter kit has WebProtocolException to throw exceptions in WCF. Is this included in .net 4.0?
The WCF starter kit has WebProtocolException to throw exceptions in WCF. Is this included
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Please read the article Introducing WCF WebHttp Services in .NET 4 which describes how WCF in .NET Framework 4 now includes those features like automatic help page for WCF Web HTTP service and
WebFaultExceptionexceptions (compare withWebProtocolExceptionfrom the WCF REST Starter Kit for WCF 3.5 from CodePlex).The server side code examples use only types in
System.ServiceModel.Web.dlland not theMicrosoft.ServiceModel.Web.dllfile from the WCF REST Starter Kit).For client-side code you can continue to use Microsoft.Http.dll and Microsoft.Http.Extensions.dll from the WCF 3.5 WCF REST Starter Kit Preview 2.
Another good article is A Developer’s Introduction to Windows Communication Foundation 4