Walter.Web.FireWall
RulesCreatedEventArgs Class
Members  Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.EventArguments Namespace : RulesCreatedEventArgs Class
Event triggered when the rules have been applied before the rules are used to generate endpoint protection defaults
Object Model
RulesCreatedEventArgs ClassRulesConfig Class
Syntax
public class RulesCreatedEventArgs : System.EventArgs 
Remarks
Use this event to apply advanced runtime configuration to the firewall rules
Example
The following code show how to update the pattern to allow access to the default .net default membership path "/Identity/Account/"
services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
                   , domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
                   , options =>{
                     options.OnRulesCreated+=(sender, rules)=> {
                         rules.BlockedPatterns.NoPublicAccessToAdministration.Remove("/Identity/Account/")
                         };
                    });
Inheritance Hierarchy

System.Object
   System.EventArgs
      Walter.Web.FireWall.EventArguments.RulesCreatedEventArgs

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RulesCreatedEventArgs Members
Walter.Web.FireWall.EventArguments Namespace