Skip to main content
snippets
S
nippets
Latest Snippets
To Name Value Collection Extension
C#
7 years ago
collection
config
csharp
extensions
namevaluecollection
settings
String Equals Any Extension Method
C#
7 years ago
array
csharp
dotnet
extensions
search
string
Pluralize Word
C#
7 years ago
csharp
dotnet
extensions
helpers
plural
string
Set All Properties to Default Values
C#
7 years ago
csharp
default
dotnet
extensions
object
reflection
type
Hash Message Examples in C#
C#
7 years ago
algorithm
csharp
dotnet
examples
hash
hashalgorithm
security
sha256
Using the Thread-safe ConcurrentQueue Collection
C#
7 years ago
concurrency
concurrentqueue
csharp
dotnet
examples
fifo
queue
threading
threadsafe
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
First
«
69
70
71
72
73
74
75
76
77
78
79
»
Last
More »