ISAPI in C++.net Book Recommendation Needed

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • msnews.microsoft.com

    ISAPI in C++.net Book Recommendation Needed

    I am a C# programmer with a little C++ experience from a few years ago. I
    need to write some ISAPI filters and extensions to run on the latest version
    of IIS on .net Server 2003. Can anyone recommend an excellent book that has
    some decent samples to get an out of shape C++ programmer and ISAPI beginner
    going? Thank you.


  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: ISAPI in C++.net Book Recommendation Needed

    If you are going to write an ASAPI filter, then you probably don't want
    to use .NET (.NET doesn't allow static function exports). You would just
    want to use C++. However, ASP.NET has a nice framework that allows you to
    do much of what ISAPI offers you (through the IHttpHandler and
    IHttpAsyncHandl er interfaces).

    Hope this helps.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - mvp@spam.guard. caspershouse.co m

    "msnews.microso ft.com" <TyroneBloombau mbergenthal@wel fare.com> wrote in
    message news:ObtiUxXeEH A.2544@TK2MSFTN GP10.phx.gbl...[color=blue]
    > I am a C# programmer with a little C++ experience from a few years ago. I
    > need to write some ISAPI filters and extensions to run on the latest[/color]
    version[color=blue]
    > of IIS on .net Server 2003. Can anyone recommend an excellent book that[/color]
    has[color=blue]
    > some decent samples to get an out of shape C++ programmer and ISAPI[/color]
    beginner[color=blue]
    > going? Thank you.
    >
    >[/color]


    Comment

    • msnews.microsoft.com

      #3
      Re: ISAPI in C++.net Book Recommendation Needed

      I want to be able to intercept a web page request and depending on the the
      user agent, determine the reponse that is going to be rendered to the
      requestor. I do not think I can do this using httphandlers. Thanks.

      "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c om> wrote in
      message news:#HIF#9XeEH A.1644@tk2msftn gp13.phx.gbl...[color=blue]
      > If you are going to write an ASAPI filter, then you probably don't[/color]
      want[color=blue]
      > to use .NET (.NET doesn't allow static function exports). You would just
      > want to use C++. However, ASP.NET has a nice framework that allows you to
      > do much of what ISAPI offers you (through the IHttpHandler and
      > IHttpAsyncHandl er interfaces).
      >
      > Hope this helps.
      >
      >
      > --
      > - Nicholas Paldino [.NET/C# MVP]
      > - mvp@spam.guard. caspershouse.co m
      >
      > "msnews.microso ft.com" <TyroneBloombau mbergenthal@wel fare.com> wrote in
      > message news:ObtiUxXeEH A.2544@TK2MSFTN GP10.phx.gbl...[color=green]
      > > I am a C# programmer with a little C++ experience from a few years ago.[/color][/color]
      I[color=blue][color=green]
      > > need to write some ISAPI filters and extensions to run on the latest[/color]
      > version[color=green]
      > > of IIS on .net Server 2003. Can anyone recommend an excellent book that[/color]
      > has[color=green]
      > > some decent samples to get an out of shape C++ programmer and ISAPI[/color]
      > beginner[color=green]
      > > going? Thank you.
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Bogdan Crivat [MSFT]

        #4
        Re: ISAPI in C++.net Book Recommendation Needed

        You might want to take look in the MSDN documentation, searching for ATL
        Server. ATL Server is a library included in Visual C++ .Net, providing
        support for developing ISAPI extensions.

        --
        --
        --
        This posting is provided "AS IS" with no warranties, and confers no rights.
        Please do not send email directly to this alias. It is for newsgroup
        purposes only.

        thanks,
        bogdan

        "msnews.microso ft.com" <TyroneBloombau mbergenthal@wel fare.com> wrote in
        message news:ObtiUxXeEH A.2544@TK2MSFTN GP10.phx.gbl...[color=blue]
        > I am a C# programmer with a little C++ experience from a few years ago. I
        > need to write some ISAPI filters and extensions to run on the latest[/color]
        version[color=blue]
        > of IIS on .net Server 2003. Can anyone recommend an excellent book that[/color]
        has[color=blue]
        > some decent samples to get an out of shape C++ programmer and ISAPI[/color]
        beginner[color=blue]
        > going? Thank you.
        >
        >[/color]


        Comment

        • Hasani \(remove nospam from address\)

          #5
          Re: ISAPI in C++.net Book Recommendation Needed

          Though you have to use c++, you'll still have access to the .net framework.
          The following links should help get you started though.









          "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c om> wrote in
          message news:%23HIF%239 XeEHA.1644@tk2m sftngp13.phx.gb l...[color=blue]
          > If you are going to write an ASAPI filter, then you probably don't[/color]
          want[color=blue]
          > to use .NET (.NET doesn't allow static function exports). You would just
          > want to use C++. However, ASP.NET has a nice framework that allows you to
          > do much of what ISAPI offers you (through the IHttpHandler and
          > IHttpAsyncHandl er interfaces).
          >
          > Hope this helps.
          >
          >
          > --
          > - Nicholas Paldino [.NET/C# MVP]
          > - mvp@spam.guard. caspershouse.co m
          >
          > "msnews.microso ft.com" <TyroneBloombau mbergenthal@wel fare.com> wrote in
          > message news:ObtiUxXeEH A.2544@TK2MSFTN GP10.phx.gbl...[color=green]
          > > I am a C# programmer with a little C++ experience from a few years ago.[/color][/color]
          I[color=blue][color=green]
          > > need to write some ISAPI filters and extensions to run on the latest[/color]
          > version[color=green]
          > > of IIS on .net Server 2003. Can anyone recommend an excellent book that[/color]
          > has[color=green]
          > > some decent samples to get an out of shape C++ programmer and ISAPI[/color]
          > beginner[color=green]
          > > going? Thank you.
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • msnews.microsoft.com

            #6
            Re: ISAPI in C++.net Book Recommendation Needed

            Thanks

            "Hasani (remove nospam from address)" <hblackwell@n0s p4m.popstick.co m> wrote
            in message news:eMjXqiieEH A.332@TK2MSFTNG P09.phx.gbl...[color=blue]
            > Though you have to use c++, you'll still have access to the .net[/color]
            framework.[color=blue]
            > The following links should help get you started though.
            >
            > http://www.genusa.com/isapi/isapisrc.html
            >
            >[/color]
            http://msdn.microsoft.com/library/de...pi_filters.asp[color=blue]
            >
            > http://support.zeus.com/doc/examples/isapi/cookie.html
            >
            > http://www.codeproject.com/isapi/isapiredirector.asp
            >
            > "Nicholas Paldino [.NET/C# MVP]" <mvp@spam.guard .caspershouse.c om> wrote[/color]
            in[color=blue]
            > message news:%23HIF%239 XeEHA.1644@tk2m sftngp13.phx.gb l...[color=green]
            > > If you are going to write an ASAPI filter, then you probably don't[/color]
            > want[color=green]
            > > to use .NET (.NET doesn't allow static function exports). You would[/color][/color]
            just[color=blue][color=green]
            > > want to use C++. However, ASP.NET has a nice framework that allows you[/color][/color]
            to[color=blue][color=green]
            > > do much of what ISAPI offers you (through the IHttpHandler and
            > > IHttpAsyncHandl er interfaces).
            > >
            > > Hope this helps.
            > >
            > >
            > > --
            > > - Nicholas Paldino [.NET/C# MVP]
            > > - mvp@spam.guard. caspershouse.co m
            > >
            > > "msnews.microso ft.com" <TyroneBloombau mbergenthal@wel fare.com> wrote in
            > > message news:ObtiUxXeEH A.2544@TK2MSFTN GP10.phx.gbl...[color=darkred]
            > > > I am a C# programmer with a little C++ experience from a few years[/color][/color][/color]
            ago.[color=blue]
            > I[color=green][color=darkred]
            > > > need to write some ISAPI filters and extensions to run on the latest[/color]
            > > version[color=darkred]
            > > > of IIS on .net Server 2003. Can anyone recommend an excellent book[/color][/color][/color]
            that[color=blue][color=green]
            > > has[color=darkred]
            > > > some decent samples to get an out of shape C++ programmer and ISAPI[/color]
            > > beginner[color=darkred]
            > > > going? Thank you.
            > > >
            > > >[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            • Joerg Jooss

              #7
              Re: ISAPI in C++.net Book Recommendation Needed

              msnews.microsof t.com wrote:[color=blue]
              > I want to be able to intercept a web page request and depending on
              > the the user agent, determine the reponse that is going to be
              > rendered to the requestor. I do not think I can do this using
              > httphandlers. Thanks.[/color]

              Huh? Any old ASP.NET Web Control does adaptive rendering.


              Cheers,
              --
              Joerg Jooss
              joerg.jooss@gmx .net

              Comment

              • msnews.microsoft.com

                #8
                Re: ISAPI in C++.net Book Recommendation Needed

                My fear with this approach was that it would not be as performant as using
                ISAPI. Thoughts please...


                "Joerg Jooss" <joerg.jooss@gm x.net> wrote in message
                news:#XV$D0KfEH A.3964@TK2MSFTN GP12.phx.gbl...[color=blue]
                > msnews.microsof t.com wrote:[color=green]
                > > I want to be able to intercept a web page request and depending on
                > > the the user agent, determine the reponse that is going to be
                > > rendered to the requestor. I do not think I can do this using
                > > httphandlers. Thanks.[/color]
                >
                > Huh? Any old ASP.NET Web Control does adaptive rendering.
                >
                >
                > Cheers,
                > --
                > Joerg Jooss
                > joerg.jooss@gmx .net[/color]


                Comment

                • Joerg Jooss

                  #9
                  Re: ISAPI in C++.net Book Recommendation Needed

                  msnews.microsof t.com wrote:[color=blue]
                  > My fear with this approach was that it would not be as performant as
                  > using ISAPI. Thoughts please...[/color]

                  At the end of the day, all you do is identify the user agent and call your
                  HTML rendering methods appropriately. Regarding performance, that's hardly
                  something to be worried.

                  Cheers,
                  --
                  Joerg Jooss
                  joerg.jooss@gmx .net

                  Comment

                  Working...