Skip to main content
snippets
S
nippets
tag:
csharp
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
Convert from utf-8 bytes to string and back
C#
7 years ago
byte
convert
csharp
encode
encoding
examples
string
unicode
utf8
Example Async Database Operations in C#
C#
7 years ago
adonet
async
csharp
database
dotnet
examples
Entity Framework DbContext Options Example
C#
7 years ago
csharp
dbcontext
dotnet
entityframework
examples
Socket Extensions
C#
7 years ago
async
csharp
dotnet
ip
network
socket
First
«
13
14
15
16
17
18
19
20
21
22
23
»
Last
More »