Skip to content

RudiThoeni/WebApiWithQuotas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WebApiWithQuotas

Test Project with Simple Quota Implementation for .Net Core Web Api

  • Customizable Response Message
  • Rate Limit settings can be applied by config file
  • Returns Http Statuscode 429 To many Requests if Quota is exceeded
  • Adding Headers (X-Rate-Limit-Limit, X-Rate-Limit-Remaining, X-Rate-Limit-Reset) on each Response

Different Types of Quotas currently implemented

  1. Anonymous User
    IP Restriction, could also applied on path and ip as cachekey

  2. Known Referer
    Restriction applied to Referer as cachekey

  3. Known User
    Bearer token is read, Restriction applied to username claim as cachekey

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages