It would be better to use GlobalConfiguration.Configuration, so added dependencies are used. Now a new instance of DefaultServices is used.
Comments: In general we don't have a global configuration available. It is only present when hosted inside ASP.NET. We can therefore not rely on it being present hence the current solution of creating a new configuration.
Comments: In general we don't have a global configuration available. It is only present when hosted inside ASP.NET. We can therefore not rely on it being present hence the current solution of creating a new configuration.