stefanprodan / WebApiThrottle

ASP.NET Web API rate limiter for IIS and Owin hosting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configurable filter per API from configuration file

giladsu opened this issue · comments

IIUC, filters per API are configurable using the EnableThrottling attribute.
Is there a way to configure this from a configuration file?

Seems like defining a new attribute that derives from EnableThrottling and reads from a config file in the ctor would work, but is there a different way.