DynamicModuleUtility.RegisterModule Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Dynamically registers an IHttpModule module.

Namespace:  Microsoft.Web.Infrastructure.DynamicModuleHelper
Assembly:  Microsoft.Web.Infrastructure (in Microsoft.Web.Infrastructure.dll)

public static function RegisterModule(
	moduleType : Type


Type: System.Type
The type of the module to register.

Modules are typically registered through the <modules> section of the Web.config file. However, the RegisterModule(Type) method registers modules at run time.