title: Configurationless WCF using Factories and JSONP
body: <p>I'm using the WebServiceHostFactory in my WCF services to avoid having to create a crapton of binding configuration in web.config.</p>
  
  <p>However, I'd like to expose the services as XML/JSON and JSONP.</p>
  
  <p>Reading: <a href="http://jasonkelly.net/archive/2009/02/24/using-jquery-amp-jsonp-for-cross-domain-ajax-with-wcf-services.aspx" rel="nofollow noreferrer">http://jasonkelly.net/archive/2009/02/24/using-jquery-amp-jsonp-for-cross-domain-ajax-with-wcf-services.aspx</a></p>
  
  <p>It does not look like I can extend WCF to add JSONP without resorting to a mountain of custom binding config.</p>
  
  <p>So, for those who have done it, is it possible to have a restful WCF service that responds in XML/JSON/JSONP depending on the UriTemplate, without resorting to a ton of config wiring?</p>