Implementations details can be found on this blog here
SibeeshVenu/DotNetIpFilter
DotNetIpFilter is a demo .NET 7 Web API to show how to restrict the WEB API access by whitelisting the safe IP lists
C#
DotNetIpFilter is a demo .NET 7 Web API to show how to restrict the WEB API access by whitelisting the safe IP lists
C#
Implementations details can be found on this blog here