For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HUMAN DashboardHUMAN WebsiteRequest a Demo
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
Product GuidesEnforcer GuidesMobile SDKAPI ReferenceCustomer support
  • General
    • About Enforcers
    • Support first-party HUMAN calls
    • Troubleshoot Enforcer configurations
  • Enforcer frameworks
    • Akamai ESI
    • Apache - C Module
    • ASP.NET
      • ASP.NET changelog
      • Configuration Options
      • First Party Configuration
    • Callout Enforcer
    • Envoy Proxy
    • F5 BIGIP
    • Fastly JavaScript Compute@Edge
    • Google Cloud Platform (GCP) Callout Enforcer
    • Kong Plugin
    • NGINX - C Module
    • NGINX - LUA Module
    • PHP
    • Python
    • Ruby
    • Salesforce Commerce Cloud Cartridge
LogoLogo
Login
Login
HUMAN DashboardHUMAN WebsiteRequest a Demo
On this page
  • Getting Started
  • Dependencies
  • Installation
  • Integration
  • Edit web.config
  • Basic Usage Example
  • Upgrading
Enforcer frameworks

ASP.NET

Was this page helpful?
Previous

ASP.NET changelog

Next
Built with

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)

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

Add configuration section (configuration level)

1<configSections>
2 <sectionGroup name="perimeterX">
3 <section
4 name="pxModuleConfigurationSection"
5 type="PerimeterX.PxModuleConfigurationSection"
6 />
7 </sectionGroup>
8 ...

Basic Usage Example

Add site specific configuration (configuration level)

1<perimeterX>
2 <pxModuleConfigurationSection
3 enabled="true"
4 appId="<PX Application ID>"
5 apiToken="<API token>"
6 cookieKey="<cookie key>"
7 monitorMode="true"
8 blockingScore="100"
9 >
10 </pxModuleConfigurationSection>
11 </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.