在Web应用程序IIS API监控 [英] IIS API Monitor in a web application

查看:295
本文介绍了在Web应用程序IIS API监控的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现一个简单的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆