I've created a WCF service and added it to an existing Silverlight application that I am working on.
When I run the silverlight application in debug mode it fails when I reference the WCF web service.
Unrecognized element '' in service reference configuration. Note that only a subset of the Windows Communication Foundation configuration functionality is available in Silverlight.
After searching around apparently the following line is causing the app to fail:
<transport>
<extendedProtectionPolicy policyEnforcement="Never" />
</transport>
After removing the above lines everything works. What is the issue here? Should I believing this code in and configuring something else?