Fundamentals of
C++

Totally free education on the Internet

About · FAQ ·Tell a Friend · Comments  · Course Home Page  ·  IT Learning Center

About this Course

coverIT05.jpg (2354 bytes)

This course is intended for serious computer hobbyists, IT students, and IT professionals. You need Windows and Visual C++ installed.

The free online textbook for this course is Visual C++ 6 Unleashed . Read the Introduction to the book.

offiste01.jpg (430 bytes) Indicates links that take you away from the Free-Ed.Net site. Use the links on these offsite pages carefully, and use the Back function on your browser to return to the assigments.

 

Lesson 10. MFC and the Internet Server API (ISAPI)

In this lesson, you will look at the Internet Server (IS) Application Programming Interface (API), which you can use to create your own custom enhancements to ISAPI-compliant Hypertext Transfer Protocol (HTTP) servers, such as the one included with Microsoft's Internet Information Server (IIS). You look at both the C APIs that are included in ISAPI and the Microsoft Foundation Classes (MFCs) that are provided to encapsulate these functions.

ISAPI enables you to create two sorts of extensions to a Web server. The first is called an Internet Server Extension Application, or ISA. You will see how to implement a DLL that can be called by the Web server on behalf of a client to provide custom functionality similar to Common Gateway Interface (CGI) scripts. However, ISAs, which are loaded as a dynamic link library (DLL) into the server's memory address space, are more efficient than CGI scripts, which are separate executables that must be started each time a request is made for the script.

The second sort of extension you can create is an ISAPI filter, which can be called by the Web server to assist in handling various events in the processing of an HTTP request, ranging from the reading and writing of raw data to the output of log file entries. You can use ISAPI filters to add any number of different sorts of functionality to a Web server, including custom authentication, compression, encryption, and logging schemes.

Reading Assignments

Read the following sections from your free online textbook:

offiste01.jpg (430 bytes) Developing a Server Extension Application
offiste01.jpg (430 bytes) ISAPI Filters
offiste01.jpg (430 bytes) ISAPI Support in MFC
offiste01.jpg (430 bytes) The Internet Service Manager API
 

Learning Activities

  1. Use this search box to refine and expand your understanding of new terms and concepts in the reading assignments.

Custom Search
  1. offiste01.jpg (430 bytes) Read the Summary of the lesson.


Web design and curriculum: David L. Heiserman

Copyright © 2005 SweetHaven Publishing Services
All Rights Reserved