21 April, 2010

extendedProtectionPolicy tag problem: Workaround

When one use Windows7 to generate a WCF configuration file/ proxy that will generate some extra lines of code which will cause the problems in running the application.
The extra lines generated are not supported in Silverlight/WPF environment.
Those lines will look like
<transport>
    <extendedprotectionpolicy policyenforcement="Never" />
</transport>
There are some limitations for silverlight & WPF to use custombinding. You can read an article related to this at
http://msdn.microsoft.com/en-us/library/cc896571(VS.95).aspx

Workaround:
Those extra tags can be deleted or commented to run the application.

No comments:

Post a Comment