How does the WCF configuration relate to the 405 error?

Responsive Ad Header

Question

Grade: Education Subject: Support
How does the WCF configuration relate to the 405 error?
Asked by:
55 Viewed 55 Answers
Responsive Ad After Question

Answer (55)

Best Answer
(274)
The WCF configuration, specifically the `webHttpBinding` section, controls which HTTP methods are allowed for each operation. You can use the `allowedMethods` attribute to explicitly list the permitted methods. If a method isn't listed, the service will return a 405 error.