This is a mirror of official site: http://jasper-net.blogspot.com/

IIS Network Diagnostic Tools

| Thursday, June 17, 2010
When troubleshooting network problems it helps to be able to run ping and traceroute ( tracert ) commands from remote servers. There is number of such public servers available on http://www.traceroute.org.

If you need to run such server yourself on Microsoft IIS, you face a hard time, thought. I was unable to find decent, modern and free implementation of web ping and trace. So I wrote one myself.
Live demo (US server)
Live demo (CZ server)

How it works

IIS Network Diagnostic Tools is set of three HTTP handlers written in .NET: one cares for the ping command, second for the traceroute and third displays simple user friendly HTML form to use them both. Above these handlers stands one handler factory, which switches them according to requested operations.

Therefore you are able to register single handler (the factory) using single DLL and you are all set.

Installation

Copy the Altairis.IisNetDiag.dll assembly to bin folder fo your web site.
Add reference to the Altairis.IisNetDiag.ToolsHandlerFactory class in handler section. You may use any path name for registration, default and recommended is IisNetDiag.axd . Example for registration for both IIS 6.0 (Windows 2003 and below) and 7.x (Windows 2008 and above) can be found in web.config file in this folder.
That's all. Visit the address of the handler (like http://www.example.com/IisNetDiag.axd ) and you'll see the form.

Read more: Codeplex

Posted via email from .NET Info

0 comments: