We get people complaining about slow loading on our website. It is at a local ISP with pretty good bandwidth. But lately I've been getting a lot of client disconnected errors.
I added ping into the error logging so that I can see what kind of response times people that generate the client disconnect errors have. Most of these are coming up with a timeout. I was thinking about spinning off a thread to do a traceRoute and email me the results to me.
Would the best way to do this most likely build that portion as a small standalone app? Is there a way to do it inside my asp.net app?
Im not sure if theres a native way of invoking a tracert in .net but you could always hit the cmd prompt:
Process process = new Process();
process.StartInfo.FileName = "tracert.exe";
process.StartInfo.Arguments = "who you are trying to tracert";
process.Start();
... I'm fairly certain that would work as long as the app had the ability to execute