System.Web.Compilation.IAssemblyPostProcessor

Defines the method a class implements to process an assembly after the assembly has been built.

See Also: IAssemblyPostProcessor Members

Syntax

public interface IAssemblyPostProcessor : IDisposable

Remarks

A class implementing this interface can access an assembly after it has been compiled. The System.Web.Compilation.AssemblyBuilder class compiles assemblies and then checks to see whether an System.Web.Compilation.IAssemblyPostProcessor interface has been registered in the Web configuration file. If so, the System.Web.Compilation.AssemblyBuilder instance calls the IAssemblyPostProcessor.PostProcessAssembly(string) method for the System.Web.Compilation.IAssemblyPostProcessor interface to perform any action after the compilation and before loading the assembly. For example, a profiler tool could implement this interface to establish probes in the assembly.

When an System.Web.Compilation.IAssemblyPostProcessor interface is registered, the ASP.NET application and its assemblies will always be compiled in debug mode.

Requirements

Namespace: System.Web.Compilation
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0