Couple of questions about IIS7, ISAPI, etc.

来源:互联网 发布:天下3女神捏脸数据 编辑:程序博客网 时间:2024/06/06 09:28

Question:

 

Hello,

I am a newbie to IIS and just starting to come up to speed.  We have an ISAPI Extension/Filter DLL that we need to port from IIS6 to IIS7.  There is also some talk of replacing this ISAPI module with an ASP.NET module.

Now here are my questions, please bear with me if they sound trivial or stupid:

Can ISAPI Filters be configured at V-dir or Application level in IIS7?  Or does it have to be at website level only?  If this is possible, please point me to documentation on how to achieve this.

What is the benefit of replacing the ISAPI module with an ASP.NET module?  What kind of effort would this entail and where can I go to learn more about how to do this?  Can the existing module continue to run with IIS7 if we choose not to do this?

Thanks much,

-PG

 

Answer:

Hi,

1. You can configure ISAPI filter upto application level. You cannot set it for a vdir.
2. Only thing you get is ease of programming and ability to use rich functionality of .net. Writing managed modules is simple if you are familiar with .net programming. You can go learn.iis.net and look for articles under developing on iis7.0->extending iis7.0->runtime extensibility. Your existing ISAPI should work just fine on IIS7 as well.

Thanks.
Kanwal

 

http://forums.iis.net/t/1154151.aspx

原创粉丝点击