ISAPI in C++.net Book Recommendation Needed

  • Thread starter Thread starter msnews.microsoft.com
  • Start date Start date
M

msnews.microsoft.com

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.
 
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.
 
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 said:
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]
- (e-mail address removed)

msnews.microsoft.com said:
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.
 
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
 
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/d...y/en-us/iissdk/iis/creating_isapi_filters.asp

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

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

Nicholas Paldino said:
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]
- (e-mail address removed)

msnews.microsoft.com said:
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.
 
Thanks

Hasani (remove nospam from address) said:
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/d...y/en-us/iissdk/iis/creating_isapi_filters.asp

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

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

message news:%23HIF%[email protected]...
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]
- (e-mail address removed)

msnews.microsoft.com said:
I am a C# programmer with a little C++ experience from a few years
ago.
I that
has
 
msnews.microsoft.com said:
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,
 
My fear with this approach was that it would not be as performant as using
ISAPI. Thoughts please...
 
msnews.microsoft.com said:
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,
 
Back
Top