Throttling for APIs

Topics: Web Api
Aug 6, 2011 at 9:46 AM

Hi,

Is there any way to implement throttling for APIs.

I am looking to restrict number of times a service URL can be hit by a particular IP.

Thanks,

Mahesh.

Aug 6, 2011 at 12:42 PM

WCF has support for throttling request (e.g. see http://kennyw.com/work/indigo/150), but not by IP (at least that I know of).

However, you can create a message handler for that purpose.