Skip to main content
snippets
S
nippets
Latest Snippets
Thread-safe Producer-Consumer from Scratch
C#
7 years ago
consumer
csharp
dotnet
examples
producer
queue
task
threading
threadsafe
Breaking Parallel Loops in .NET C#
C#
7 years ago
csharp
dotnet
loop
parallel
DateTime To Epoch Extensions
C#
7 years ago
csharp
date
datetime
dotnet
epoch
extensions
7 ways to start a Task in .NET C#
C#
7 years ago
csharp
dotnet
examples
task
threading
threadsafe
Calculate Standard Deviation
C#
7 years ago
algorithm
average
calculations
csharp
dotnet
helpers
math
Base64 URL Encode and Decode
C#
7 years ago
base64
byte
csharp
decode
dotnet
encode
helpers
Using Razor for Email Templates
C#
7 years ago
csharp
dotnet
email
examples
razor
template
Compute Pi in Parallel Speed Tests
C#
7 years ago
compute
csharp
examples
parallel
pi
threading
threadsafe
WebClient Extensions
C#
7 years ago
async
csharp
dotnet
extensions
httpclient
parallel
task
threading
webclient
Make a RESTful Async API Call in an MVC Controller
C#
7 years ago
aspnet
async
controller
csharp
examples
json
mvc
restful
You're using HttpClient Wrong
Markdown
7 years ago
articles
async
bestpractices
csharp
dotnet
examples
httpclient
Use Server MapPath when HTTPContext is null
C#
7 years ago
aspnet
csharp
dotnet
httpcontext
path
webconfig
Using Interlocked CompareExchange with Retry
C#
7 years ago
concurrency
csharp
dotnet
double
examples
interlocked
parallel
threading
threadsafe
Generate a URL from ASP.NET MVC Route Attributes
C#
7 years ago
action
aspnet
controller
csharp
dotnet
examples
mvc
razor
url
Operation Performance Timer Class
C#
7 years ago
benchmark
class
csharp
performance
Singleton Patterns in C#
C#
7 years ago
csharp
dotnet
examples
patterns
singleton
threading
threadsafe
sqlite command
Shell
7 years ago
commands
database
examples
sql
sqlite
ffprobe command
Shell
7 years ago
commands
encode
examples
ffmpeg
ffprobe
stream
video
Check Internet Access
Shell
7 years ago
bash
examples
functions
helpers
internet
nc
netcat
network
shell
Convert from utf-8 bytes to string and back
C#
7 years ago
byte
convert
csharp
encode
encoding
examples
string
unicode
utf8
First
«
65
66
67
68
69
70
71
72
73
74
75
»
Last
More »