title: What is the difference between AspNet.Cors and AspNet.WebApi.Cors?
body: <p>In my application I have the following two nuget packages installed:</p>
  
  <ul>
  <li>Microsoft.AspNet.Cors - 5.2.2</li>
  <li>Microsoft.AspNet.WebApi.Cors - 5.2.2</li>
  </ul>
  
  <p>My application is a WebAPI back-end connected to an AngularJS front-end. The back-end and front-end are on different web servers. The application uses bearer authentication and logon is estabilished with a call to /token. I am using ASP.Net Identity 2.1</p>
  
  <p>I have managed to get CORS working by following directions from here:</p>
  
  <blockquote>
    <p><a href="http://www.codeproject.com/Articles/742532/Using-Web-API-Individual-User-Account-plus-CORS-En" rel="noreferrer">http://www.codeproject.com/Articles/742532/Using-Web-API-Individual-User-Account-plus-CORS-En</a></p>
  </blockquote>
  
  <p>However I would like to learn more about the differences between the two Cors packages. Are they both required for my type of project and when would one use the AspNet.Cors and when would one use the WebApi.Cors?</p>