> This page is for Applications Protection.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.humansecurity.com/llms.txt.

# ASP.NET

## Getting Started

**Latest version: v3.1.4** ([https://www.nuget.org/packages/PerimeterXModule/3.1.4](https://www.nuget.org/packages/PerimeterXModule/3.1.4))

### Dependencies

v3.1.4 - The package is compatible with **.NET Framework 4.7** and higher.\
v3.1.3 - The package is compatible with **.NET Framework 4.8** and higher.\
Up to v3.1.2 - The package is compatible with **.NET Framework 4.5** and higher.

### Installation

To install HUMANModule, run the following command in the Package Manager Console

```
PM> Install-Package PerimeterXModule
```

### Integration

#### Edit web.config

Add HUMAN HUMANModule (configuration -> system.webServer level)

```xml
<modules>
  <add name="PxModule" type="PerimeterX.PxModule"/>
</modules>
```

Add configuration section (configuration level)

```xml
<configSections>
  <sectionGroup name="perimeterX">
    <section
      name="pxModuleConfigurationSection"
      type="PerimeterX.PxModuleConfigurationSection"
    />
  </sectionGroup>
  ...
```

### Basic Usage Example

Add site specific configuration (configuration level)

```xml
<perimeterX>
   <pxModuleConfigurationSection
     enabled="true"
     appId="<PX Application ID>"
     apiToken="<API token>"
     cookieKey="<cookie key>"
     monitorMode="true"
     blockingScore="100"
     >
   </pxModuleConfigurationSection>
 </perimeterX>
```

### Upgrading

To upgrade to the latest Enforcer version:

1. In Visual Studio, right click on the solution and Select **Manage NuGet packages for solution**.
2. Search for `perimeterxmodule` in the updates section, and update.

**OR**

Run `Install-Package PerimeterXModule` in the Package Manager Console

Your Enforcer version is now upgraded to the latest enforcer version.

For more information, contact [Support](/applications/support).