Fundamentals of |
About · FAQ ·Tell a Friend · Comments · Course Home Page · IT Learning Center |
About this Course
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.
|
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:
Learning Activities
|
| Web design and curriculum: David L. Heiserman | Copyright © 2005 SweetHaven Publishing Services |