manisha201301

Results 7 comments of manisha201301

@ymor can I get a sample on how to override the ``LogBlockedRequest``? Overriding ``IpRateLimitMiddleware.LogBlockedRequest`` will have us override it's constructor too , getting values for which is difficult.

Thanks, also this solved my problem: https://github.com/stefanprodan/AspNetCoreRateLimit/issues/7#issuecomment-261670002

shouldn't this work for you? https://github.com/stefanprodan/AspNetCoreRateLimit/wiki/ClientRateLimitMiddleware#update-rate-limits-at-runtime

One small question, I tried writing my own `ResolveClientAsync()` and adding the config in the Startup.cs, it does hit this `ResolveClientAsync()` for me and return different string for different users...

figured it out, seems like I was still using ``app.UseIpRateLimiting()`` instead of ``app.UseClientRateLimiting()``

@oatsoda I am wondering about the same issue. Did you resolved your issue? I thought about implementing custom rateLimitStore, something similar to the Solution2 mentioned here: https://github.com/stefanprodan/AspNetCoreRateLimit/wiki/Using-Redis-as-a-distributed-counter-store but it never...