title: force xml return on some web api controllers while maintaining default JSON
body: <p>We are doing some azure store integration and its resource provider code requires us to use xml as the return formatter.  However we only want to use XML with the Azure stuff and leave the default JSON formatter alone.</p>
  
  <p>So, does anyone know how you can force the web api for specific controllers/methoods to always return xml without messing with the global formatters at application start?</p>
  
  <p>Working with MVC 4.5 and code based largely off of <a href="https://github.com/MetricsHub/AzureStoreRP" rel="noreferrer">https://github.com/MetricsHub/AzureStoreRP</a>, I simply moved the web api stuff into our own services and modified the data layer to use our backend versus the entity framework backend it has.</p>