Guides
Each guide explains what a Pineapple type is for, shows working C# code, and lists the API surface.
| Guide | Namespace | Key types |
|---|---|---|
| Guard clauses (Preconditions) | Pineapple.Common |
Preconditions |
| ShortGuid and SQL GUID ordering | Pineapple.Common |
ShortGuid, GuidExtensions |
| Deterministic HashCode | Pineapple.Common |
HashCode |
| SQL Server RowVersion | Pineapple.Data |
RowVersion |
| Rate limiting and resource governors | Pineapple.Threading |
RateLimiterScope, SafeRateLimiterScope, ResourceGoverner |
| Timeouts, backoff, and parallelism | Pineapple.Threading |
AccurateTimeout, SimpleTimeout, ExponentialWait, Parallelism |
| Diagnostics and timing | Pineapple.Diagnostics, Pineapple.Threading |
TimingScope, MeasureScope, ConsoleColorScope, CallsPerMinute |
| Cleanup and async helpers | Pineapple.Common, Pineapple.Threading, Pineapple.Extensions |
Cleanup, SynchronizationContextScope, ImmutableExtensions |
| Health checks and networking | Pineapple.Health, Pineapple.Networking |
Check, BrotliCompressionHandler |
| Pineapple.Data for SQL Server | Pineapple.Data.* |
InformationSchemaContext, SqlClient.Check |