Synchronous and Asynchronous I/O

Overview

This set of samples demonstrates how to perform both synchronous and asynchronous I/O operations from your ISAPI extension. Both flavors of I/O have been provided here for the sake of comparison, and each type of operation has its advantages. Asynchronous reads and writes are powerful extensions to ISAPI, as they allow extensions to free server pool threads from blocking on I/O operations. Even more importantly, asynchronous I/O takes advantage of the special pool of dedicated threads that IIS reserves for asynchronous I/O.

Code Tour
Location

These projects are available in the ...\isapi\extensions\io subdirectory of the IIS samples directory.