简体   繁体   English

开发ISAPI过滤器

[英]Developing an ISAPI filter

I want to develop an ISAPI filter which shall read the headers of an URL, this shall talk to an ASP .NET application . 我想开发一个ISAPI过滤器,该过滤器将读取URL的标头,这将与ASP .NET应用程序通信。 Can this be achieved in C# , or do I need to develop this in C++ , and create a CLI/C++ DLL so that the ASP .NET application can communicate with the C++ dll . 可以在C#中实现,还是我需要在C ++中进行开发,并创建一个CLI / C ++ DLL,以便ASP .NET应用程序可以与C ++ dll进行通信。

In .Net you use HTTPModule and HTTPHandlers to accomplish what ISAPI gave you before. 在.Net中,您使用HTTPModule和HTTPHandlers来完成ISAPI之前给您的内容。

Here is a decent MSDN article: http://msdn.microsoft.com/en-us/library/bb398986.aspx 这是一篇不错的MSDN文章: http : //msdn.microsoft.com/zh-cn/library/bb398986.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM