Walter.BOM Namespace
Walter.Web.FireWall Namespace
ASP-WAF Web application firewall for .Net 6, .Net 5, .Net Standard 2.1 and .Net Core 3.x

EventLogReportingExtensions Class

Class allowing you to register the Windows EventLog reporting destination

Namespace:  Microsoft.Extensions.DependencyInjection
Assembly:  Walter.Web.FireWall.EventLog (in Walter.Web.FireWall.EventLog.dll)

Syntax


public static class EventLogReportingExtensions

Examples


for more samples download getting started manual from www.asp-waf.com/download/ASP-WAF-FireWall-Getting-Started.pdf
Always-On configuration for MVC applications
services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
    , domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
    , options =>
    {
        //your firewall options
}).UseEventLogLogging(options=>{
     options.LogName = "FireWall";
     options.SourceName = "www.your-domain.com";
});

services.AddMvc(options =>
    // your MVC options
    ...
    //Always-On option: Add firewall to all request
    options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>()
);