Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.15 KB

README.md

File metadata and controls

23 lines (14 loc) · 1.15 KB

csharp-snippets

Reusable code snippets with minimal dependency.

Database

Linear Block Id Generator - A sequence Id generator which works similarly with the Hi-Lo algorithm. A block of sequence numbers are reserved to the client by given sequence length and a Hi number returned by the database server. This article explains this in detail http://literatejava.com/hibernate/linear-block-allocator-a-superior-alternative-to-hilo/.

File Operations

WriteFileAsync - Samples for writing a stream or text to file asynchronously.

Using Series

System.Threading.Channels

Resources: