在Web应用程序IIS API监控 [英] IIS API Monitor in a web application
问题描述
我想实现一个简单的Web应用程序,将IIS和应用程序之间坐。我需要监控的API活动,以获得电话和传出的消息。我一直在用的HttpListener周围试图乱如下指示: HTTP ://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx ,但请求总是能想出空。也许我期待在错误的地方,但在这方面的任何帮助/经验大大AP preciated。
I'm trying to implement a simple web application that will sit between IIS and the application. I need to monitor the API activity to get the calls and outgoing messages. I've been trying to mess around with HTTPListener as directed here: http://msdn.microsoft.com/en-us/library/system.net.httplistener.aspx, but the request always come up as null. Probably I'm looking in the wrong place, but any help/experience in this area is greatly appreciated.
谢谢!
推荐答案
您需要的HttpModule和HttpHandler的发挥,如果你想更generice看ISAPI筛选器
you need to play with httpmodule and httphandler, and if you want it more generice look at ISAPI filters
这篇关于在Web应用程序IIS API监控的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!