Walter.Web.FireWall
IgnoreAttribute Constructor(FireWallGuardActions,Int32)
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Annotations Namespace > IgnoreAttribute Class > IgnoreAttribute Constructor : IgnoreAttribute Constructor(FireWallGuardActions,Int32)
Tell firewall what rules to skip
Tells the firewall how often access is granted during a given session
Set the firewall to ignore specific rules on this endpoint
Syntax
public IgnoreAttribute( 
   FireWallGuardActions skip,
   int skipCount
)

Parameters

skip
Tell firewall what rules to skip
skipCount
Tells the firewall how often access is granted during a given session
Exceptions
ExceptionDescription
Skip must be assigned None makes no sense, remove the attribute if no skipping was intended
Skip count must be 1 or higher
Example
[Ignore(FireWallSkipChecks.ALL, 5)]
[ResponseCache(Duration = 60,VaryByQueryKeys = new[] { "reason" })]
public IActionResult Blocked(BlockingReasons reason)
{
    return View(reason);
}
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

IgnoreAttribute Class
IgnoreAttribute Members
Overload List