Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF | .Net API for WAF Systems

FireWallBase Class

Class FireWallBase is the base class to use when creating your own instance of IFireWall by using this class as it's base class.

Namespace:  Walter.Web.FireWall
Assembly:  Walter.Web.FireWall (in Walter.Web.FireWall.dll)

Syntax


Remarks


If you create your own firewall class then you need to use this base class when configuring the services. You can't create your own implementation of the IFireWall interface and the register that with the dependency injection system.

You will find a more complete code sample on the constructor

Examples


The following sample assumes you created a custom instance named MyFireWall
C#
services.AddFireWall<MyFireWall>("Token", "Key", new Uri("https://www.site.com", UriKind.Absolute), options =>{
//add your options here    
});

Inheritance Hierarchy


Object
  Walter.Web.FireWall..::..FireWallBase

Thread Safety


Static members of this type are safe for multi-threaded operations. Instance members of this type are safe for multi-threaded operations.