Thanks for asking question! Missing CORS errors occur when there is no access-control-allow-origin header present in responses from separate domains than your root page source. If you're using a .NET application to send the request to your API, add the following to your web.config. You may need to add additional headers such as Access-Control-Allow-Methods and Access-Control-Allow-Headers based on what requests you're making against your API.
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*" />
</customHeaders>
</httpProtocol>
</system.webServer>
You may refer to this SO issue.
Some additional links might be helpful: https://learn.microsoft.com/en-us/aspnet/core/security/cors?view=aspnetcore-3.1