DEV Community

Discussion on: Exploring ASP.NET Web API (.NET 5)

Collapse
 
jioophoenix profile image
John Ojo

Hi, thanks for reading the article and leaving a comment.
If you plan to consume your ASP.NET Core API from another project you must enable CORS in the API project. docs.microsoft.com/en-us/aspnet/we.... should help you understand what CORS is all about.

docs.microsoft.com/en-us/aspnet/co... will help with understanding how logging works in ASP.NET Core