Walter.Web.FireWall
FireWallConfiguration Property (EndpointsCreatedEventArgs)
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.EventArguments Namespace > EndpointsCreatedEventArgs Class : FireWallConfiguration Property
Gets the fire wall configuration.
Syntax
public IFireWallConfig FireWallConfiguration {get;}

Property Value

The fire wall configuration.
Example
Use the event to fine-tune rules for static files
private void Options_OnEndpointsCreated(object? sender, Walter.Web.FireWall.EventArguments.EndpointsCreatedEventArgs e)
             {
                 foreach (var item in e.Links.EndpointsInPath("*.zip", "*.pdf", "*.chm"))
                 {
                     item.AllowAddhockAccess = true;
                     item.FirewallDisabled = true;
                 }
            
                 foreach (var item in e.Links.EndpointsInPath("*.css", "*.png", "*.jpg", "*.ico"))
                 {
                     item.FirewallDisabled = true;
                 }
             }
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

EndpointsCreatedEventArgs Class
EndpointsCreatedEventArgs Members