I have looked in several places not found any with what I need. I need a webserver that I have an EventHandler method, when I make any request, it will call this method. I'm putting below an example of how I need to be this webserver, if someone can help me. I might even reward for it.
Look at this site and see the first code example. I need it to be that way.