Question
How does the `binding` section of the WCF configuration affect the 405 error?
Asked by: USER4914
77 Viewed
77 Answers
Answer (77)
The `binding` section, particularly the `webHttpBinding` element, controls the HTTP protocol and methods supported. If the binding is configured to only allow GET requests, any attempt to use POST, PUT, or DELETE will result in a 405 error.