Skip to main content
snippets
S
nippets
tag:
dotnet
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
WebClient Extensions
C#
7 years ago
async
csharp
dotnet
extensions
httpclient
parallel
task
threading
webclient
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
Singleton Patterns in C#
C#
7 years ago
csharp
dotnet
examples
patterns
singleton
threading
threadsafe
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
Simple C# Open Port Network Scanner
C#
7 years ago
async
class
csharp
dotnet
examples
ip
network
port
scan
socket
Compress and Decompress Bytes
C#
7 years ago
byte
compress
csharp
dotnet
examples
gzip
Greatest Common Denominator in C#
C#
7 years ago
algorithm
calculations
csharp
denominator
dotnet
math
A Faster Bucket Sort
C#
7 years ago
algorithm
bucket
class
csharp
dotnet
sort
Reading Text Files
C#
7 years ago
byte
csharp
dotnet
examples
file
linebreak
lines
read
Generate a Unique Hardware ID
C#
7 years ago
cpu
csharp
dotnet
hardware
id
unique
windows
First
«
2
3
4
5
6
7
8
9
10
»
More »