locked
How to write IIS Plugin for CRM RRS feed

  • Question

  • Hi all,
    I want to write an IIS Plugin which will provide me CRM request string.
    How to register IIS plugin to CRM. and How to write such plugin.
    Any idea??
    Dare to promise
    Tuesday, July 7, 2009 12:57 PM

Answers

  • Hi Deepak,

    IIS Plugin is a simple terminology, the right word is : ISAPI Plugin. http://en.wikipedia.org/wiki/Internet_Server_Application_Programming_Interface

    You remind me of good ol' days, they were power tools for developers to take control of IIS[upto certain extent] and change IIS's behavior to do things which are not done in normal Web applications.

    Just go through the link I've put and if you need more I will send you more links, but I believe that article is sufficient to give you idea about ISAPI plugins. I will try to figure out how to get the details you have asked, but right now I can't promise anything.


    Regards,
    Chinmay
    http://metrix.blogspot.com
    Wednesday, July 8, 2009 3:10 PM

All replies

  • Hi Deepak,

    By any chance you are talking about HttpHandler/HttpModule?
    Regards,
    Chinmay
    http://metrix.blogspot.com
    Tuesday, July 7, 2009 1:09 PM
  • Hi Chinmay,
    I'm trying to create a plugin which will give me RequestID, SessionId, Request String(User updates, reads, delete), logged user name. These all things I can get from IIS. I want to write a plugin which will get all these values and save it into database.

    I'm not sure how to proceed, but somebody referred to use IIS plugin.
    Do you have any idea how to proceed or any way to get all those values for every user.


    Dare to promise
    Tuesday, July 7, 2009 2:10 PM
  • Hi Deepak,

    I believe you are talking about IIS ISAPI Plugin. I did develop one around 3-4 years back, but that was in Visual Basic 6.

    If I am not wrong HttpModules/HttpHandlers are the managed alternative of ISAPI Plugins[Unmanaged].

    I've no idea how you will be able to capture those values using HttpModule/HttpHandler, but I must tell you, adding a custom HttpHandler/HttpModule is not supported and might 'cause some serious trouble with CRM's operations if not done caerfully.
    Regards,
    Chinmay
    http://metrix.blogspot.com
    Tuesday, July 7, 2009 3:01 PM
  • Hi Chinmay,
    I there any other way to capture those value ??
    I'm really in desperate need to get those values...
    Dare to promise
    Wednesday, July 8, 2009 6:10 AM
  • Hi Deepak,

    When it comes to computing, I really dont take risk saying : hey.. it is impossible. As the very next moment someone might just do it. So I would say, I've no idea about it. I can give it a try, over the weekend, but I can't gurantee anything.

    Also why would you like to audit these details without using Plugin?
    RequestID - Why?
    SessionId - Why?
    Request String(User updates, reads, delete) - You can get it using Plugin Context
    Logged user name - You can get it using Plugin Context
    Regards,
    Chinmay
    http://metrix.blogspot.com
    Wednesday, July 8, 2009 1:15 PM
  • Hi Chinmay,
    Thanks a lot for your reply and I really appreciate ur help.
    Request ID , Session ID and XML request string , and Logged Username is my Client's requirement.
    As I'm not able to get these values from CRM Plugin, so clients says to switch to IIS plugin.
    I'm stuck here as I dont how to proceed and what to search, what exactly iis plugin is.
    Dare to promise
    Wednesday, July 8, 2009 2:15 PM
  • Hi Deepak,

    IIS Plugin is a simple terminology, the right word is : ISAPI Plugin. http://en.wikipedia.org/wiki/Internet_Server_Application_Programming_Interface

    You remind me of good ol' days, they were power tools for developers to take control of IIS[upto certain extent] and change IIS's behavior to do things which are not done in normal Web applications.

    Just go through the link I've put and if you need more I will send you more links, but I believe that article is sufficient to give you idea about ISAPI plugins. I will try to figure out how to get the details you have asked, but right now I can't promise anything.


    Regards,
    Chinmay
    http://metrix.blogspot.com
    Wednesday, July 8, 2009 3:10 PM
  • Thanks Chinmay for your support.
    I have gone through the link and it really helped me.
    If I'm not wrong HttpHandlers are ISAPI extension and httpmodules are ISAPI filters.
    thanks alot once again..
    Hope you come out with a solution to my problem.
    I'm also trying to get rid of it.
    Dare to promise
    Thursday, July 9, 2009 4:30 AM