I have been trying for 3 days but it does not work.
I have taken code from the following link
I paste this in My Html file create in VS website for .Net , and setup a local server for my page using IIS server
I also downloaded proxy from GitHub resource-proxy/DotNet at master · Esri/resource-proxy · GitHub
setup it in same application in IIS
Downloaded excel file added in my application from https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/4.5_week.csv
but still I am getting the following error in console using developer mode when set Proxy URL to this
config.defaults.io.proxyUrl = "/192.168.8.188/Proxy/proxy.ashx";
and when I set proxy url to this
config.defaults.io.proxyUrl = "/Proxy/";
then the following error occurs in console
Could you please help me out. I would be thankful in advance.
So that tells you that your proxy is not setup correctly then.
Have tested your web server on that machine to see if you have it setup correctly and serving HTML file correctly?
Edit the file C:\inetpub\wwwroot\proxy\proxy.config and insert the follow statement
<?xml version="1.0" encoding="utf-8" ?>
5. Edit the file index.html as follow statement
config.defaults.io.proxyUrl = "/proxy/proxy.ashx";
6. Test the example using the url http://localhost/Geodesic/index.html
I hope this can help you.