WebApiThrottle icon indicating copy to clipboard operation
WebApiThrottle copied to clipboard

Preflight Error raised

Open ahmedsaidzahran opened this issue 4 years ago • 0 comments

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()
        });

ahmedsaidzahran avatar Oct 16 '19 11:10 ahmedsaidzahran