I'm migrating a web application which was designed in the .net framework GIS to .net core. and currently am on ArcGIS Javascript API 4.23.
In the .net framework application, I'm using the proxy.ashx (https://github.com/Esri/resource-proxy/tree/master/DotNet), to handle the proxy requests but this proxy handler is not compatible with .net core.
I tried https://www.nuget.org/packages/EsriArcgis.Proxy.Core but it doesn't support token authentication. I have to predefine the authentication config in the proxy.config.json file but that is not possible with our application.
Is there a solution for getting around this, I need to use a proxy as am not certain if the servers I am accessing will be CORS enabled.