Walter.Web.FireWall.ILogger 2020.10.12.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Walter.Web.FireWall.ILogger --version 2020.10.12.1
NuGet\Install-Package Walter.Web.FireWall.ILogger -Version 2020.10.12.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Walter.Web.FireWall.ILogger" Version="2020.10.12.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Walter.Web.FireWall.ILogger --version 2020.10.12.1
#r "nuget: Walter.Web.FireWall.ILogger, 2020.10.12.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Walter.Web.FireWall.ILogger as a Cake Addin
#addin nuget:?package=Walter.Web.FireWall.ILogger&version=2020.10.12.1

// Install Walter.Web.FireWall.ILogger as a Cake Tool
#tool nuget:?package=Walter.Web.FireWall.ILogger&version=2020.10.12.1

This package targets projects with dedicated servers and allows you to protect your firewall using annotations and pre-specified rules. A full getting started document is available at www.asp-waf.com in form of a PDF, compiled help and simple instructions

The bellow sample shows how you integrate and enable the firewall in your project and use ILogger for Incident reporting.

services.AddFireWall(FireWallTrail.License, FireWallTrail.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);
        }).UseILoggerLogging(options:option=> {
                   option.Level = Microsoft.Extensions.Logging.LogLevel.Critical;
                   option.NameSpace = "MyApplication.FireWall.Logger";
               });
//protect each MVC controller
services.AddMvc(options =>
    options.Filters.Add<Walter.Web.FireWall.Filters.FireWallFilter>()
);

The firewall is fully configurable and has quite a few options that allow you to protect against fishing, scrubbing, cross-site attach and much more.

There are a ton of configuration options available using the many annotations

   namespace MyProject.Controllers
   {
       using Walter.Web.FireWall;
       using Walter.Web.FireWall.Annotations;
       using Walter.BOM.Geo;

       [Geo(blockLocation: GeoLocation.AFRICA | GeoLocation.LATIN_AMERICA | GeoLocation.Netherlands)]
       [Users(users: UserTypes.IsHuman | UserTypes.IsSearchEngine)]
       [BlockDuration(duration: 60, sliding: true, doubleDurationPerIncedent: true)]
       public sealed class MembersController : Controller
       {
           private readonly ILogger<MembersController> _logger;
            private readonly IPageRequest _page;
           public HomeController(ILogger<MembersController> logger,IPageRequest page)
           {
               _logger = logger;
               _page=page;
           }

           public IActionResult Index()
           {
               return View();
           }


           [Ignore]
           [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
           public IActionResult Error()
           {
               //the page field will contain all the errors the user ran into
               return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
           }
       }
   }

This is just a small set of options of what's possible for the ILogger Add-on

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2023.11.13.1117 140 11/13/2023
2023.10.26.1502 105 10/29/2023
2023.10.12.1926 115 10/12/2023
2023.9.14.812 113 9/14/2023
2023.9.7.1748 120 9/7/2023
2023.9.7.1241 102 9/7/2023
2023.9.6.1001 108 9/6/2023
2023.9.5.1246 102 9/5/2023
2023.9.5.1032 104 9/5/2023
2023.8.31.1522 120 8/31/2023
2023.8.29.1040 136 8/29/2023
2023.8.17.901 140 8/17/2023
2023.8.9.1314 131 8/9/2023
2023.8.2.750 129 8/2/2023
2023.7.12.830 144 7/12/2023
2023.7.5.1419 145 7/6/2023
2023.6.14.1628 142 6/14/2023
2023.6.11.1304 153 6/11/2023
2023.5.30.1640 141 5/30/2023
2023.5.4.1552 158 5/4/2023
2023.5.1.1524 162 5/1/2023
2023.4.29.910 170 4/29/2023
2023.4.12.1236 173 4/12/2023
2023.3.22.1456 213 3/22/2023
2023.3.14.1356 218 3/14/2023
2023.3.1.810 251 3/1/2023
2023.2.25.11857 236 2/25/2023
2023.2.22.27 232 2/22/2023
2023.2.15.1413 242 2/15/2023
2023.2.11.1628 254 2/11/2023
2023.1.11.534 304 1/11/2023
2022.12.30.711 299 12/30/2022
2022.12.15.1108 303 12/15/2022
2022.12.14.648 302 12/14/2022
2022.11.27.1059 318 11/27/2022
2022.11.21.338 313 11/21/2022
2022.11.14.1819 334 11/14/2022
2022.11.13.917 362 11/13/2022
2022.10.31.740 386 11/1/2022
2022.10.15.652 417 10/15/2022
2022.10.1.810 418 10/1/2022
2022.9.26.1444 469 9/26/2022
2022.9.14.1508 478 9/14/2022
2022.9.14.809 512 9/14/2022
2022.9.8.1009 466 9/8/2022
2022.8.20.1007 450 8/20/2022
2022.8.1.1 460 7/31/2022
2022.7.1300 498 7/1/2022
2022.7.31.1016 475 7/31/2022
2022.7.15.841 496 7/15/2022
2022.6.21.647 481 6/21/2022
2022.5.18.638 518 5/19/2022
2022.5.16.853 501 5/19/2022
2022.5.16.816 510 5/16/2022
2022.5.4.1010 527 5/4/2022
2022.4.10.947 610 4/10/2022
2022.4.10.925 568 4/10/2022
2022.4.10.828 569 4/10/2022
2022.4.1.1545 589 4/1/2022
2022.3.26.1103 623 3/26/2022
2022.2.16.1131 593 2/17/2022
2022.2.16.834 603 2/17/2022
2022.2.5.1114 605 2/5/2022
2022.1.17.1158 690 1/17/2022
2022.1.10.1505 717 1/10/2022
2022.1.10.537 699 1/10/2022
2022.1.5.1139 523 1/8/2022
2021.12.28.1452 809 12/28/2021
2021.12.16.812 749 12/16/2021
2021.11.23.1528 7,025 11/24/2021
2021.11.21.925 866 11/22/2021
2021.11.19.1503 865 11/22/2021
2021.11.19.847 1,064 11/19/2021
2021.11.18.1824 865 11/16/2021
2021.11.10.852 909 11/10/2021
2021.11.9.2021 667 11/9/2021
2021.11.8.2109 496 11/9/2021
2021.11.8.1612 450 11/8/2021
2021.11.7.1021 533 11/8/2021
2021.11.3.1612 511 11/4/2021
2021.11.1.1102 504 11/1/2021
2021.10.25.1206 538 10/25/2021
2021.10.23.1310 555 10/25/2021
2021.10.19.1522 572 10/19/2021
2021.10.16.1325 586 10/18/2021
2021.10.6.1546 565 10/6/2021
2021.10.5.1450 582 10/5/2021
2021.10.4.1155 758 10/5/2021
2021.10.1.753 547 10/1/2021
2021.9.27.1005 467 9/28/2021
2021.9.26.1913 742 9/26/2021
2021.9.19.1015 525 9/19/2021
2021.9.17.1702 557 9/17/2021
2021.9.17.1449 518 9/17/2021
2021.9.13.1600 542 9/13/2021
2021.9.11.2004 622 9/11/2021
2021.9.9.1110 711 9/9/2021
2021.9.7.1901 511 9/8/2021
2021.9.7.1121 668 9/7/2021
2021.9.6.1518 632 9/7/2021
2021.9.4.1124 505 9/4/2021
2021.9.2.708 514 9/4/2021
2021.9.0.1259 566 9/2/2021
2021.8.2200 566 8/23/2021
2021.8.2100 546 8/23/2021
2021.8.22.900 539 8/22/2021
2021.8.18.1500 557 8/18/2021
2021.8.18.930 686 8/18/2021
2021.8.14.1600 544 8/16/2021
2021.8.9.1105 458 8/9/2021
2021.8.8.1612 494 8/8/2021
2021.8.8.1138 646 8/8/2021
2021.8.6.1044 554 8/6/2021
2021.8.4.1355 575 8/5/2021
2021.7.30.2118 634 7/31/2021
2021.7.27.926 604 7/28/2021
2021.7.23.931 550 7/26/2021
2021.7.22.1456 533 7/23/2021
2021.7.15.1547 502 7/15/2021
2021.7.13.812 540 7/13/2021
2021.7.8.1527 672 7/10/2021
2021.7.5.1649 612 7/5/2021
2021.6.29.1453 591 6/30/2021
2021.6.26.1753 590 6/27/2021
2021.6.25.1849 528 6/25/2021
2021.6.24.1518 737 6/24/2021
2021.6.20.729 630 6/20/2021
2021.6.15.2006 588 6/15/2021
2021.6.14.2025 603 6/15/2021
2021.6.13.2035 703 6/14/2021
2021.6.12.1154 475 6/13/2021
2021.6.9.1120 462 6/9/2021
2021.6.3.1509 485 6/3/2021
2021.5.31.1533 543 5/31/2021
2021.5.31.1415 528 5/31/2021
2021.5.24.1128 497 5/24/2021
2021.5.24.1019 498 5/24/2021
2021.5.12.637 447 5/12/2021
2021.5.10.1442 506 5/11/2021
2021.5.8.1226 472 5/8/2021
2021.3.18.1622 449 3/18/2021
2021.3.3.1259 509 3/3/2021
2021.3.2.1415 479 3/2/2021
2021.3.1.11 478 2/28/2021
2021.3.1.1 553 2/27/2021
2021.3.1 566 2/27/2021
2021.2.23.6 522 2/23/2021
2021.2.21.1 488 2/21/2021
2021.2.20.1 461 2/20/2021
2021.2.19.2 481 2/19/2021
2021.2.18.6 519 2/19/2021
2021.2.17.1 487 2/17/2021
2021.2.16.1 494 2/16/2021
2021.2.15.3 449 2/15/2021
2021.2.15.1 541 2/14/2021
2021.2.14.3 481 2/14/2021
2021.2.12.6 471 2/12/2021
2021.2.12.2 476 2/12/2021
2021.2.11.1 478 2/11/2021
2021.2.10.1 499 2/10/2021
2021.2.8.1 528 2/9/2021
2021.2.7.2 511 2/7/2021
2021.2.7.1 498 2/6/2021
2020.12.27.6 599 12/27/2020
2020.12.27.1 537 12/27/2020
2020.12.26.7 566 12/27/2020
2020.12.26.5 574 12/27/2020
2020.12.26.3 523 12/27/2020
2020.12.19.1 660 12/19/2020
2020.12.16.1 519 12/16/2020
2020.12.15.1 531 12/15/2020
2020.12.14.5 506 12/14/2020
2020.12.14.4 560 12/14/2020
2020.12.14.3 612 12/14/2020
2020.12.5.1 625 12/5/2020
2020.12.4.4 579 12/4/2020
2020.12.4.3 548 12/4/2020
2020.12.4.1 555 12/4/2020
2020.12.3.1 565 12/3/2020
2020.12.2.4 522 12/2/2020
2020.12.2.3 571 12/2/2020
2020.12.1.1 573 12/1/2020
2020.11.28.1 577 11/28/2020
2020.11.27.2 584 11/27/2020
2020.11.27.1 603 11/27/2020
2020.11.25.1 582 11/25/2020
2020.11.22.3 579 11/23/2020
2020.11.20.1 632 11/21/2020
2020.11.19.3 559 11/19/2020
2020.11.19.1 576 11/19/2020
2020.11.18.2 577 11/18/2020
2020.11.17.2 636 11/17/2020
2020.11.17.1 578 11/17/2020
2020.11.15.1 621 11/15/2020
2020.11.14.1 590 11/14/2020
2020.11.13.2 528 11/13/2020
2020.11.13.1 523 11/13/2020
2020.11.12.1 555 11/12/2020
2020.11.11.1 535 11/11/2020
2020.11.8.1 661 11/8/2020
2020.11.7.1 568 11/7/2020
2020.11.5.1 549 11/5/2020
2020.11.3.1 576 11/3/2020
2020.11.1.3 610 11/1/2020
2020.11.1.2 599 11/1/2020
2020.11.1.1 546 11/1/2020
2020.10.30.1 585 11/1/2020
2020.10.15.3 565 10/15/2020
2020.10.15.2 560 10/15/2020
2020.10.14.1 573 10/14/2020
2020.10.13.1 570 10/13/2020
2020.10.12.2 599 10/12/2020
2020.10.12.1 575 10/12/2020
2020.10.10.1 746 10/10/2020
2020.10.9.6 579 10/9/2020
2020.10.9.2 591 10/9/2020
2020.10.9.1 581 10/9/2020
2020.10.8.1 588 10/8/2020
2020.10.6.8 615 10/7/2020
2020.10.6.6 591 10/7/2020
2020.10.6.5 645 10/7/2020
2020.10.6.4 610 10/7/2020
2020.10.6.3 639 10/7/2020
2020.10.6.2 616 10/7/2020
2020.10.6.1 646 10/7/2020
2020.10.5.1 623 10/6/2020
2020.10.1.3 556 10/1/2020
2020.10.1.2 545 10/1/2020
2020.10.1.1 604 10/1/2020
2020.9.29.10 595 9/29/2020
2020.9.29.9 614 9/29/2020
2020.9.28.2 564 9/28/2020
2020.9.28.1 618 9/28/2020
2020.9.25.1 685 9/26/2020
2020.9.24.2 580 9/24/2020
2020.9.24 586 9/24/2020
2020.9.23.2 634 9/23/2020
2020.9.23.1 629 9/23/2020
2020.9.22.1 598 9/22/2020
2020.9.21.1 634 9/21/2020
2020.9.17.2 573 9/17/2020
2020.9.16 605 9/16/2020

05 October 2020
     - Update terms
     - update NuGet package references
     
     16 September 2020
     - initial release for the ILogger Extension method.