wcf-extensions

The element 'behavior' has invalid child element 'myFaultExtension' in wcf app.config

时光毁灭记忆、已成空白 提交于 2019-11-27 04:47:04
问题 I'm trying to catch regular exceptions from a WCF service in a Silverlight client application. For that I've included the respective changes in my WCF service as given in this MSDN article. But when I configure the behavior extension and use the same in endpoint behavior, the error mentioned above is coming up, and the service is not able to run due to this error. I am putting here my configuration. Kindly suggest how can I solve this? <extensions> <!--Add a behavior extension within the

Why isn't my custom WCF behavior extension element type being found?

大兔子大兔子 提交于 2019-11-26 19:33:45
问题 I have a solution that contains two projects. One project is an ASP.NET Web Application Project, and one is a class library. The web application has a project reference to the class library. Neither of these is strongly-named. In the class library, which I'll call "Framework," I have an endpoint behavior (an IEndpointBehavior implementation) and a configuration element (a class derived from BehaviorExtensionsElement). The configuration element is so I can attach the endpoint behavior to a