Working with Web Server Modules

The Module object in Appcmd provides convenient methods for installing, enabling, and managing Web server modules. Again, you can perform the majority of these tasks by using the Config object to directly edit configuration files.

For example, you can install native modules by using the Install Module command.

appcmd install module /name:MyNativeModule /image:c:\mymodule.dll

You can use the same command to add new managed modules.

appcmd add module /name:MyManagedModules /type:MyModules.MyManagedModule

You can also manage which modules are enabled on your Web server or application by adding or deleting modules.

Find details about how to use Appcmd to install, enable, and configure Web server modules in Chapter 12.

Get Internet Information Services (IIS) 7.0 Resource Kit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.