469,941 Members | 2,516 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,941 developers. It's quick & easy.

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.
Nov 17 '05 #1
8 967
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
IHttpAsyncHandler interfaces).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"msnews.microsoft.com" <Ty***********************@welfare.com> wrote in
message news:Ob**************@TK2MSFTNGP10.phx.gbl...
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.

Nov 17 '05 #2
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]" <mv*@spam.guard.caspershouse.com> wrote in
message news:#H**************@tk2msftngp13.phx.gbl...
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
IHttpAsyncHandler interfaces).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"msnews.microsoft.com" <Ty***********************@welfare.com> wrote in
message news:Ob**************@TK2MSFTNGP10.phx.gbl...
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.


Nov 17 '05 #3
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.microsoft.com" <Ty***********************@welfare.com> wrote in
message news:Ob**************@TK2MSFTNGP10.phx.gbl...
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.

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

http://www.genusa.com/isapi/isapisrc.html

http://msdn.microsoft.com/library/de...pi_filters.asp

http://support.zeus.com/doc/examples/isapi/cookie.html

http://www.codeproject.com/isapi/isapiredirector.asp

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2******************@tk2msftngp13.phx.gbl...
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
IHttpAsyncHandler interfaces).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"msnews.microsoft.com" <Ty***********************@welfare.com> wrote in
message news:Ob**************@TK2MSFTNGP10.phx.gbl...
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.


Nov 17 '05 #5
Thanks

"Hasani (remove nospam from address)" <hb********@n0sp4m.popstick.com> wrote
in message news:eM*************@TK2MSFTNGP09.phx.gbl...
Though you have to use c++, you'll still have access to the .net framework. The following links should help get you started though.

http://www.genusa.com/isapi/isapisrc.html

http://msdn.microsoft.com/library/de...pi_filters.asp
http://support.zeus.com/doc/examples/isapi/cookie.html

http://www.codeproject.com/isapi/isapiredirector.asp

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:%2******************@tk2msftngp13.phx.gbl...
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
IHttpAsyncHandler interfaces).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"msnews.microsoft.com" <Ty***********************@welfare.com> wrote in
message news:Ob**************@TK2MSFTNGP10.phx.gbl...
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.



Nov 17 '05 #6
msnews.microsoft.com wrote:
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.


Huh? Any old ASP.NET Web Control does adaptive rendering.
Cheers,
--
Joerg Jooss
jo*********@gmx.net
Nov 17 '05 #7
My fear with this approach was that it would not be as performant as using
ISAPI. Thoughts please...
"Joerg Jooss" <jo*********@gmx.net> wrote in message
news:#X**************@TK2MSFTNGP12.phx.gbl...
msnews.microsoft.com wrote:
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.


Huh? Any old ASP.NET Web Control does adaptive rendering.
Cheers,
--
Joerg Jooss
jo*********@gmx.net

Nov 17 '05 #8
msnews.microsoft.com wrote:
My fear with this approach was that it would not be as performant as
using ISAPI. Thoughts please...


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
jo*********@gmx.net

Nov 17 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

16 posts views Thread by Robert Zurer | last post: by
1 post views Thread by Jerry Hewett | last post: by
1 post views Thread by Greg | last post: by
6 posts views Thread by msnews.microsoft.com | last post: by
6 posts views Thread by ted | last post: by
4 posts views Thread by Huy | last post: by
3 posts views Thread by Lauren Quantrell | last post: by
reply views Thread by lallous | last post: by
reply views Thread by Erwin Moller | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.