With Blue Horns
With Blue Horns
CC#
Created by With Blue Horns on 11/23/2023 in #help
Asp.net rate limiting
Closed since found a workaround
6 replies
CC#
Created by With Blue Horns on 11/23/2023 in #help
Asp.net rate limiting
Such as this?
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;

[ApiController]
[Route("api/[controller]")]
public class CodeRedemption : ControllerBase
{
[HttpGet]
[EnableRateLimiting("fixed")]
public async Task<ActionResult<string>> GetString([FromQuery] string input)
{

}
}
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.RateLimiting;

[ApiController]
[Route("api/[controller]")]
public class CodeRedemption : ControllerBase
{
[HttpGet]
[EnableRateLimiting("fixed")]
public async Task<ActionResult<string>> GetString([FromQuery] string input)
{

}
}
6 replies
CC#
Created by With Blue Horns on 11/23/2023 in #help
Asp.net rate limiting
I think I may need to add something in controller too
6 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
Yeah
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
But will definitly try it, I'm desperate for something that will work
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
I mean, that could work, but I'm unsure if it's a good approach, since I'm just trying to apply values of calculations I did before in time period
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
That's possible
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
But shouldn't, in this case, give it a jittering like result? Like if it would go 2 ways at once, instead of just continuing?
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
So I have 2 threads cool
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
My guess, it is started from another thread, because one is a thread that I created, second, is created by vs I guess? Because it's a looking for a click
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
But instead it should stop for a second, and go to bottom right corner
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
Here, it stops for a second, then just continues going, which means, the loop wasn't broken
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
Because they will try to change position of form in the same time, which will result in jittering
26 replies
CC#
Created by With Blue Horns on 9/2/2023 in #help
❔ Failing in breaking for loop
They cannot
26 replies