title: Programmatically and globally adding a custom WCF client endpoint behavior extension
body: <p>I have the need to add a custom behavior extension to my WCF client endpoints.  I tried doing this through configuration, but have been bitten by the often-mentioned bug where WFC configuration can't parse the type name correctly.  So can I do this programatically instead?</p>
  
  <p>I can't modify the configuration sections at runtime because they are read-only.  I know if I get ahold of an instance of a client proxy (i.e. ClientBase), I can add to its Endpoint.Behaviors an instance of my custom behavior.  However, I would have to do this for each instance.</p>
  
  <p>Can I get to the endpoints globally and pre-add them (e.g. in Global.asax), or are these endpoints instantiated and discarded transiently?</p>