OwinFirewall
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(); }
Activity
- Latest release
- 10y ago
- Total releases
- 1
- Cadence
- —
- Last 12 months
- 0
Details
- First release
- Aug 29, 2016
Releases
| Version | Released | |
|---|---|---|
1.0.1
initial
|
1.0.1
initial
Dependencies (2)
|