The HttpConfiguration extension EnableCors is under namespace System.Web.Http.Cors in recent build. As a result, to enable cors in WebApiConfig you need to include 'using System.Web.Http.Cors'.
In contrast with EnableSystemDiagnosticsTracing, which is under System.Web.Http, the later enable cleaner user code.
Comments: Fixed by: https://aspnetwebstack.codeplex.com/SourceControl/changeset/8012e8806a6a41fa55d85a3491719bd01d44ac34
In contrast with EnableSystemDiagnosticsTracing, which is under System.Web.Http, the later enable cleaner user code.
Comments: Fixed by: https://aspnetwebstack.codeplex.com/SourceControl/changeset/8012e8806a6a41fa55d85a3491719bd01d44ac34