Closed meywd closed 8 years ago
I am using the ThrottlingMiddleware and I get the following error
The class 'WebApiThrottle.ThrottlingMiddleware' does not have a constructor taking 5 arguments.
app.Use(typeof(ThrottlingMiddleware), new ThrottlePolicy(perSecond: 5, perMinute: 120, perHour: 700, perDay: 10000) { IpThrottling = true, ClientThrottling = true, EndpointThrottling = true, }, new PolicyCacheRepository(), new CacheRepository(), null);
I am using the ThrottlingMiddleware and I get the following error