28 avr. 2023 · The attribute checks the source IP address of the request and either allows or denies access based on the whitelist. Create a new ASP.NET 6 Core Web API Project In this section, we’ll learn how to create a new ASP.NET 6 Core Web API project in Visual Studio 2022.