ThrottlingTroll.CounterStores.AzureTable 10.0.0

dotnet add package ThrottlingTroll.CounterStores.AzureTable --version 10.0.0
                    
NuGet\Install-Package ThrottlingTroll.CounterStores.AzureTable -Version 10.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ThrottlingTroll.CounterStores.AzureTable" Version="10.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ThrottlingTroll.CounterStores.AzureTable" Version="10.0.0" />
                    
Directory.Packages.props
<PackageReference Include="ThrottlingTroll.CounterStores.AzureTable" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ThrottlingTroll.CounterStores.AzureTable --version 10.0.0
                    
#r "nuget: ThrottlingTroll.CounterStores.AzureTable, 10.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ThrottlingTroll.CounterStores.AzureTable@10.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ThrottlingTroll.CounterStores.AzureTable&version=10.0.0
                    
Install as a Cake Addin
#tool nuget:?package=ThrottlingTroll.CounterStores.AzureTable&version=10.0.0
                    
Install as a Cake Tool

ThrottlingTroll.CounterStores.AzureTable

ICounterStore implementation that uses Azure Tables (or Cosmos DB with Table API).

Easiest to configure (only takes a Storage connection string), but not recommended for production workloads, because contention around the table might get very high (remember that Azure Storage Tables only support optimistic concurrency and no atomic operations).

<img alt="Nuget" src="https://img.shields.io/nuget/dt/ThrottlingTroll.CounterStores.AzureTable?label=ThrottlingTroll.CounterStores.AzureTable%20downloads">

How to use

  1. Install package from NuGet:

    dotnet add package ThrottlingTroll.CounterStores.AzureTable
    
  2. EITHER put AzureTableCounterStore instance into your DI container:

    builder.Services.AddSingleton<ICounterStore>(
        new AzureTableCounterStore("my-azure-storage-connection-string", "ThrottlingTrollCountersTable")
    );
    

    OR provide an instance of it via .UseThrottlingTroll() method:

    app.UseThrottlingTroll(options => {
        options.CounterStore = new AzureTableCounterStore("my-azure-storage-connection-string", "ThrottlingTrollCountersTable");
    });
    

The second parameter - table name - can be anything you like. That table will be auto-created, if not exists yet.

IMPORTANT: if you use Cosmos DB, then its default consistency level should be set to either STRONG or BOUNDED STALENESS.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.0.0 37 3/7/2026
10.0.0-beta3 29 3/6/2026
10.0.0-beta2 66 3/3/2026
10.0.0-beta1 81 3/1/2026
9.2.0 262 2/1/2026
9.1.0 109 1/7/2026
9.0.0 204 12/23/2025
9.0.0-beta3 172 12/22/2025
9.0.0-beta2 173 12/22/2025
9.0.0-beta1 158 12/21/2025
8.0.0 228 7/1/2025
8.0.0-beta3 175 6/30/2025
8.0.0-beta2 191 6/29/2025
8.0.0-beta1 156 6/28/2025
7.3.0 1,740 10/14/2024
7.2.0 1,106 8/31/2024
7.2.0-beta1 149 8/31/2024
7.1.2 235 6/12/2024
7.1.1 274 6/3/2024
7.1.0 245 6/1/2024
Loading failed