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

Edited 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.

Viewing all articles
Browse latest Browse all 7215

Trending Articles



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