Skip to content

Commit 223ac46

Browse files
author
Karl Solgård
committed
docs: Add installation guide
1 parent d1ac9d1 commit 223ac46

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,22 @@ Targets `net10.0`.
1414
| `ConcurrencyLimits.AspNetCore` | Request-pipeline middleware that returns 429 when the limit is reached. |
1515
| `ConcurrencyLimits.Grpc` | gRPC server and client interceptors (unary calls). |
1616

17+
## Install
18+
19+
```bash
20+
dotnet add package ConcurrencyLimits # core algorithms and limiters
21+
dotnet add package ConcurrencyLimits.AspNetCore # ASP.NET Core middleware
22+
dotnet add package ConcurrencyLimits.Grpc # gRPC interceptors
23+
```
24+
25+
Or via `PackageReference`:
26+
27+
```xml
28+
<PackageReference Include="ConcurrencyLimits" Version="1.0.0" />
29+
```
30+
31+
The `AspNetCore` and `Grpc` packages depend on the core package, so installing either pulls it in transitively.
32+
1733
## Build and test
1834

1935
```bash

0 commit comments

Comments
 (0)