WebApiThrottle
WebApiThrottle copied to clipboard
Preflight Error raised
I handled Preflight and it works fine. but when used WebApiThrottle, it fires preflight errors from Ionic app and don't know when.
config.MessageHandlers.Add(new CustomThrottlingHandler()
{
Policy = new ThrottlePolicy(perSecond: 5, perMinute: 300)
{
IpThrottling = true,
EndpointThrottling = true,
ClientThrottling = true
},
Repository = new CacheRepository()
});