I am trying to configure my .net core API in order to limit the requests.
To achieve this i modify the program.cs class like
public class Program {