Tuesday, September 16, 2008

Note on WCF behavior extension element

As described here: about configuration errors when defining behavior extensions, there is a bug that makes it necessary to fully specifiy the class and assembly name in your behavior extension:


<?xml version="1.0" encoding="utf-8"?>
<!-- configuration, servicemodel etc. left out for clarity-->
<extensions>
<behaviorExtensions>
<!-- Because of a bug in .NET framework you need to fully specify the behavior class and assembly
-->
<add name="springBehavior"
type="AgileSquad.Wcf.Spring.SpringServiceBehavior, AgileSquad.Wcf.Spring, Version=1.0.0.0, Culture=neutral, PublicKeyToken=a44c692614ed00fa"/>
</behaviorExtensions>
</extensions>

No comments:

Post a Comment