Skip to content

Miggleness/csharp-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

Will eventually be a bag of reusable code snippets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages