Relative Content

Tag Archive for c#.net-coreasp.net-core-webapi

calling multiple web apis built with dotnetcore on a single page returns error

i built a project with c# dotnetcore 6 web api which includes multiple api endpoints. whenever the frontend engineer tries calling more than 2 apis on the dashboard, 1 is successful and the other returns a cors error. how do i resolve the issue permanently from the backend. i’ve configured cors settings already and there is no error calling just 1 endpoint. the error occures when calling any 2 endpoints at the same on a page.