Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: [CORS] Put EnableCors under namespace System.Web.Http [913]

$
0
0
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

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>