Walter.Web.FireWall
HealthReportView Property (ReportingConfig)
Example 
Walter.Web.FireWall Assembly > Walter.Web.FireWall.Configurations Namespace > ReportingConfig Class : HealthReportView Property
The Razor view use to render health report with when calling the IFireWall.Report method with the HTML as output format. Leave it blank to use the internal generated HTML for this report
Syntax
public string HealthReportView {get; set;}

Property Value

The health report view to render.
Example
for more samples download getting started manual from www.asp-waf.com/download/ASP-WAF-FireWall-Getting-Started.pdf
services.AddFireWall(FireWallTrial.License, FireWallTrial.DomainKey
    , domainName: new Uri("https://www.your-domain.com", UriKind.Absolute)
    , options =>
    {
        options.Cypher.ApplicationPassword = "123456$even";
        options.ApplicationName = "Name as used for reporting";
        options.ApplicationTag = "ITIL Tag";
        options.Rules.BlockRequest.BlockDuration.SlideExpiration = true;
        options.Rules.BlockRequest.BlockDuration.Expires = TimeSpan.FromSeconds(10);
            
        //used by JavaScript in the browser
        options.WebServices.IsUserApiUrl = new Uri(Links.IsUserEndpoint, UriKind.Relative);
        options.WebServices.RegisterLinksApiUrl = new Uri(Links.SiteMapEndPoint, UriKind.Relative);
        options.WebServices.BeaconApiUrl = new Uri(Links.BeaconPoint, UriKind.Relative);
   
        //are used by headers rules for Content Security Policy reporting by the browser
}).UseRazorTemplates(options=>{
    options.EmailReportView="EMailTemplate";
    options.EmailReportView=string.Empty;
}).UseSMTPReportingDatabase(DatabaseConnections.FireWallMail, options =>
                 {
                     options.Archive = TimeSpan.FromDays(180);
                     options.Server = "mail.your-mail-domain.com";
                     options.UserName = "userName";
                     options.Password = "smtpPassword";
                     options.Port = 25;
                     options.From = "noreply@your-domain.com";
                     options.IgnoreServerCertificateErrors = true;
                     options.DefaultEmail = "webmaster@your-domain.com";
                     options.Archive = TimeSpan.FromDays(60);
                     options.MailingList.AddRange(new[] {
                      new EMailAddress("Security Admin","security@your-domain.com") {
                          Frequency= TimeSpan.FromHours(1),
                          Roles= EMailRoles.FireWallAdministrationViolations | EMailRoles.UnauthorizedPhysicalFilesViolation } 
                      );
                 });
            
services.AddMvc(options =>
    options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>()
);
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

ReportingConfig Class
ReportingConfig Members