Resolve MediaTypeFormatter via IoC

Topics: Web Api
Nov 3, 2011 at 6:58 PM

Hi

When applying a formatter to a service, you add an instance of the formatter to the config.formatter collection.... 

Is there a way to configure it, so the formatter is resolved by the IoC framework.

 

TIA

 

Søren