Firewall
Firewall copied to clipboard
MVC sample
@dustinmoris,
Please can you upload a MVC sample to this repository?
If country or IP
address is not allowed show blocked error page.
if allowed IP
continue to home page 👍
I have just released a new version which allows you to configure a RequestDelegate
for blocked requests. This can be used to configure your own blocked error page regardless if you use MVC or a different ASP.NET Core framework.
Check the README for more information.
If you want you can send a PR for an MVC sample, but in terms of this library nothing would change between a plain ASP.NET Core application and an MVC application.
Thanks