The OData Web API solution in this repo mirrors this other Web API solution in a different repo. The key difference is the added support for OData in the OData Web API solution.

However, finegrained Cors using EnableCors attribute does not seem to work in the OData Web Api solution with the following configuration:

In CorsAspNetCoreWebApi/Startup.cs - app.UseCors()

In CorsAspNetCoreWebApi/Controllers/MoviesController.cs Get controller action method - EnableCors(Constants.AllowSpecificOriginsCorsPolicy)