Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How I can monitor all Internet requests?

Tags:

c#

Is there any way to monitor all requested URLs using the .NET framework classes?

like image 807
DEVMBM Avatar asked Aug 26 '10 12:08

DEVMBM


2 Answers

You could create a HttpModule. It will intercept ALL requests and you could do any monitoring there.

Here you have an example about how to implement an HttpModule

More info about this on this msnd article

Another option is to use the global.asax. Log what you need on Application_BeginRequest

like image 52
Claudio Redi Avatar answered Oct 07 '22 00:10

Claudio Redi


You can use FiddlerCore to integrate Fiddler capabilities into your application.

like image 27
Alex Reitbort Avatar answered Oct 07 '22 00:10

Alex Reitbort