title: Specifying a WCF binding when using ServiceRoute
body: <p>I am currently registering a WCF service using the following code:</p>
  
  <pre><code>var factory = new DefaultServiceHostFactory();
  RouteTable.Routes.Add(new ServiceRoute("XXXEndPoint", factory, IXXXEndPoint)));
  </code></pre>
  
  <p>This is all well and good however I also need to change the MaxStringContentLength property of the reader quota settings. It appears that the default value of 8192 is used, regardless of my attempts to change this and I guess this is from the DefaultServiceModel?</p>
  
  <p>Are there any suitable hooks to override this setting on the DefaultServiceModel, or should I be deriving my own service host/model classes, or am I going about this the wrong way? </p>
  
  <p>Any suggestions appreciated.</p>
  
  <p>EDIT: Please note that the configuration of the binding must be performed programatically (not via configuration files).</p>
  
  <p>Thanks</p>