Git Product home page Git Product logo

dotnet.ratelimit's Introduction

Hi ๐Ÿ‘‹, It's Saeed Esmaeelinejad here.

  • ๐Ÿ”ญ Iโ€™m currently working at Seven Peaks as a Senior Software Engineer.
  • ๐ŸŒฑ Iโ€™m interested in the area of self-supervised representation learning.
  • ๐Ÿ‘ฏ Iโ€™m always open to meaningful collaborations and contributing.
  • ๐Ÿ˜„ Pronouns: ... He/Him/His
  • โšก Fun fact: ... I love watching crime and mystery movies (Breaking bad lover and of course Better Call Saul (Jimmy!)).

Find me at:

Saeed Esmaeelinejad Saeed Esmaeelinejad Saeed Esmaeelinejad

Github Stats

Saeed's Github Stats

dotnet.ratelimit's People

Contributors

markciliavincenti avatar sa-es-ir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dotnet.ratelimit's Issues

The README is not updated

Body parameter only works on root parameters and we have to give a guide to say that it does not work on nested parameters.

net7.0 support

I know that .NET 7 has an in-built rate limiter, and I know that it's implied via .NET Standard 2.0 and 2.1 support, but if you've tested your code on .NET 7 then perhaps you should update the README.md to reflect this.

BodyParam is ambiguous about nested object with same propertyname

In case of having this request body:

{
  "nested": {
    "id": "",
    "name": "someone"
  },
  "id": "123456"
}

I want to set rate-limit on id with this code:

[HttpPut]
[RateLimit(PeriodInSec = 60, Limit = 3, BodyParams = "id" )]
public IActionResult Update([FromBody] WeatherForecast weatherForecast)
{
	....
}

but rate-limit will grab the first id in nested.id which is not true it should get the id from root.
It should works based on root properties not nested

Matching package to framework

Is there a particular reason why you're matching the packages to the framework?

For example Microsoft.Extensions.Caching.Memory 8.0.0 is supported by netstandard2.0, so you may as well have this for all versions. You should try to target as few frameworks as possible in your csproj which would reduce the size of your NuGet package, leading to no performance loss on .NET 8.0 but on earlier frameworks they will make use of potential performance gains from the latest packages.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.