ASP.NET
  • 09 Nov 2023
  • Dark
    Light

ASP.NET

  • Dark
    Light

Article Summary

Getting Started

Latest version: v3.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)

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

Add configuration section (configuration level)

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

Basic Usage Example

Add site specific configuration (configuration level)

 <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.


Was this article helpful?

What's Next