Reputation: 791
I was wondering how request throttling would work with WebApi self-hosting? Would this be something you would have to implement yourself?
Upvotes: 3
Views: 1599
Reputation: 1039438
Yes, you have to implemented it. The same way you implement it if it was not a self hosted service. Here's a blog post which illustrates it with an example of a custom delegating handler which achieves this task.
Upvotes: 4