# HttpModule

Namespace: **Wisej.Web.Ext.AspNetControl**

Assembly: **Wisej.Web.Ext.AspNetControl** (3.2.0.0)

Custom module that installs a virtual path provider for the AspNetControl wrapper.

{% tabs %}
{% tab title="C#" %}

```csharp
public class HttpModule : IHttpModule
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class HttpModule
    Inherits IHttpModule
```

{% endtab %}
{% endtabs %}

The virtual path provider is used to "feed" a blank ASP.NET page that hosts the ASP.NET control that we are wrapping.

## Constructors

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)HttpModule()

## Methods

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)Dispose()

Disposes resources associated with the module.

### ![](https://2248866391-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MFp7MR1wemvcC5891_r%2F-MirBc8UH2o1iZfh0jrC%2F-MirBsnmjWIxMsN8l0Ms%2Finstance.png?alt=media\&token=dff77e9a-7d55-4c1e-9ef7-ac9092f4f565)Init(app)

Initializes the AspNetControl module.

| Parameter | Type                                                                                      | Description |
| --------- | ----------------------------------------------------------------------------------------- | ----------- |
| **app**   | [HttpApplication](https://docs.microsoft.com/en-us/dotnet/api/system.web.httpapplication) |             |
