C# Digest #436: Rate limiting in web applications - Concepts and approaches
#436 — October 10, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
this week's favorite
Rate limiting in web applications - Concepts and approaches
In this post, let’s take a step back and explore the simple yet wide realm of rate limiting. We’ll go over how to decide which resources to limit, what these limits should be, and where to enforce these limits.
How we achieved 5X faster pipeline execution by removing closure allocations
The NServiceBus messaging pipeline strives to achieve the right balance of flexibility, maintainability, and wicked fast…ummm…ability. It needs to be wicked fast because it is executed at scale. For our purposes, “at scale” means that throughout the lifetime of an NServiceBus endpoint, the message pipeline will be executed hundreds, even thousands of times per second under high load scenarios.
Authentication for .NET MAUI Apps with MSAL.NET
In this blog we will take a look at how to perform authentication in .NET MAUI apps to acquire the desired token.
Using GC.KeepAlive in async methods
As you probably already know, the GC is responsible for freeing memory when objects are not used anymore. It does so by tracking references: if there are no reachable references to a given object, then it can be cleaned away.
Adding validation to strongly typed configuration objects in .NET 6
I start by giving some background on the configuration system in ASP.NET Core and how to use strongly typed settings. I'll briefly touch on how to remove the dependency on IOptions in your consuming types, and then look at the problem I'm going to address—when your strongly typed settings bind incorrectly. Finally, I describe ValidateOnStart() as a solution for the issue, so you can detect any problems at app startup.
how did you like this issue?
newsletters
Older messages
C# Digest #435: ASP.NET Core - Why async await is useful
Sunday, October 2, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #435 — October 03, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #434: C# 11 – Introducing List Patterns Matching
Sunday, September 25, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #434 — September 26, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #433: Serializing asynchronous operations in C#
Sunday, September 18, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #433 — September 19, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #432: A comprehensive design patterns library
Monday, September 12, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #432 — September 12, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #431: Performance Improvements in .NET 7
Sunday, September 4, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #431 — September 05, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
You Might Also Like
JSK Daily for Nov 26, 2024
Tuesday, November 26, 2024
JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted
NumPy, Loop Targets, Vector Animation, and More
Tuesday, November 26, 2024
NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to
Your Games Quarterly newsletter has arrived
Tuesday, November 26, 2024
What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16
Daily Coding Problem: Problem #1620 [Hard]
Tuesday, November 26, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Sudoku is a puzzle where you're given a partially-filled 9 by 9 grid with
Final Hours: Help Save "The Art of Data" From Falling Short 🙏
Tuesday, November 26, 2024
Will Visual Capitalist end up revealing the secrets behind data storytelling? There are 12 hours left to change the fate of "The Art of Data". View Online | Subscribe | Download Our App Help
Spyglass Dispatch: Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer
Tuesday, November 26, 2024
Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer The Spyglass Dispatch is a free newsletter sent out
🎁 Say Goodbye to Adobe and Hello to UPDF's Universal PDF Editor— 50% Off This Black Friday!
Tuesday, November 26, 2024
Promoted by UPDF How-To Geek Logo November 26, 2024 This email is sponsored by UPDF. Product choices and opinions expressed are from the sponsor and do not necessarily reflect the views of the How-To
What's coming in Go 1.24
Tuesday, November 26, 2024
Plus Brad Fitzpatrick on complexity and Go. | #533 — November 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go's
Nvidia Disappoints
Tuesday, November 26, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 26, 2024? The HackerNoon
Tech in 2024: The winners and losers
Tuesday, November 26, 2024
Retesting AI detectors; Linux support options; Android home screen launchers -- ZDNET ZDNET Tech Today - US November 26, 2024 Meta Ray-Ban Smart Glasses ZDNET Tech winners and losers of 2024: The year