locked
How to create ISAPI filter in visual studio 2013 onwards RRS feed

  • Question

  • User1589893805 posted

    Hi Team,

    We are using MSMD Pump for our analysis services. where, it is hosted on IIS and shared URL to users those are accessing our cubes without having explicit access on our cube server.

    But now we have a requirement to track all the request and check for which many cubes users are interested on. As we know that MSMD pump is an ISAPI extension and written in VC++ and my plan to create a ISAPI filters but I did not get any appropriate solution, someone suggested we can use MFC framework. However, I found that MFC approach is deprecated for visual studio 2008 onwards and got something else is IIS Web Development SDK but I did not get any fruitful result after search.

    In IIS SDK code section is blank in MSDN site:
    https://docs.microsoft.com/en-us/previous-versions/iis/6.0-sdk/ms525035(v=vs.90)

    So, I need some suggestion on this problem that what is the best approach to creating the ISAPI filter in visual studio 2013 onwards which must be supportable with IIS 8.0 and above.

    Best Regards,

    Thursday, October 8, 2020 3:22 AM

Answers

All replies

  • Thursday, October 8, 2020 4:41 AM
  • User1589893805 posted

    Thanks for your valuable reply!

    Suggested github code is specific to  authentication filter. Can you please suggest any blog or article where explained all useful method related to ISAPI filter.

    Best Regards,

    Thursday, October 8, 2020 5:33 AM
  • User690216013 posted

    Can you please suggest any blog or article where explained all useful method related to ISAPI filter.

    You enter this field too late. Most things were written before Windows Server 2008 was shipped, so no longer found anywhere today. You didn't describe your requirements either, as today you can use IIS 7 new extension APIs (native and managed) instead in most cases, and ISAPI should be rarely needed.

    If your company has support contracts with Microsoft support team, ask them for assistance.

    Thursday, October 8, 2020 6:31 AM
  • User1589893805 posted

    I appreciate your support !

    Let me describe my requirement, my requirement is to log every request and manipulate request; which is coming in deployed applications in IIS. I have written HttpModule for achieving this task but HttpModule do not work for classic applications therefore I have found something about ISAPI filter because of this I am trying to create the ISAPI filter.

    Please suggest, how can I achieve this task.

    Best Regards,

    Thursday, October 8, 2020 7:10 AM
  • User1065476709 posted

    Hi mukeshdutt,

    Since your question is outdated, I can hardly find the relevant information now. I suggest you seek help from Microsoft's Support for business.

    Support for business

    Best regards,

    Sam

    Friday, October 9, 2020 3:27 AM
  • User690216013 posted

    I have written HttpModule for achieving this task but HttpModule do not work for classic applications

    If you meant that you wrote HttpModule in .NET, then it works in both managed and classic pipeline, but the two modes require your module to be configured differently (different sections in configuration file).

    You can also write native module with IIS 7 new API, https://docs.microsoft.com/en-us/iis/web-development-reference/native-code-development-overview/designing-native-code-http-modules

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Friday, October 9, 2020 8:45 PM