Owin Firewall NuGet Package

provides a very simple IP blocking mechanism for ASP.NET Core applications.

public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
{
loggerFactory.AddConsole(Configuration.GetSection("Logging"));
loggerFactory.AddDebug();

app.UseOwinFirewall(new Daenet.Owin.OwinFirewallOptions(new List<string>()
{ "81.207.142.79", "::1", "localhost", "222.111.228.225/27" }));
app.UseMvc();
}.




Got any Owin Firewall Question?





Info

Version: 1.0.1
Author(s): Damir Dobric
Last Update: Monday, August 29, 2016
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/OwinFirewall


Install
Install-Package OwinFirewall
dotnet add package OwinFirewall
paket add OwinFirewall
OwinFirewall Download (Unzip the "nupkg" after downloading)





STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

3008