Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
User Privileges and Elevated Account Status Helper
C#
6 years ago
account
csharp
helpers
impersonation
principalcontext
security
uac
utils
windows
Using Data Annotations for Model Validation
C#
5 years ago
csharp
data-annotations
examples
model
validation
Using Interlocked CompareExchange with Retry
C#
7 years ago
concurrency
csharp
dotnet
double
examples
interlocked
parallel
threading
threadsafe
Using LDAP Search to Retrieve a User's Token Groups
C#
4 years ago
activedirectory
csharp
group
identity
ldap
performance
tokengroups
Using LDAP to Enumerate Large Groups
C#
9 years ago
activedirectory
csharp
group
ldap
Using Razor for Email Templates
C#
7 years ago
csharp
dotnet
email
examples
razor
template
Using Task.WhenAll to Await Sending Email Messages Async
C#
5 years ago
async
csharp
examples
exception
sendmail
sendmailasync
task
threading
Using the BackgroundWorker component
C#
9 years ago
async
backgroundworker
csharp
examples
task
threading
Using the BackgroundWorker in CSharp
C#
6 years ago
backgroundworker
csharp
examples
progress
threading
Using the ReaderWriterLockSlim Construct
C#
8 years ago
csharp
examples
lock
readerwriterlockslim
threading
Using the Thread-safe ConcurrentQueue Collection
C#
7 years ago
concurrency
concurrentqueue
csharp
dotnet
examples
fifo
queue
threading
threadsafe
Validate Arg Class
C#
8 years ago
arguments
class
csharp
examples
helpers
parameter
validation
Validate DNS Name
C#
9 years ago
csharp
dns
helpers
ip
validation
Validate Email Address
C#
8 years ago
csharp
dotnet
email
helpers
validation
Validate URI String
C#
9 years ago
csharp
string
uri
url
validation
Various String Helper Methods
C#
6 years ago
csharp
extensions
helpers
string
text
utils
Various String Util Methods
C#
6 years ago
csharp
extensions
helpers
string
text
utils
Visual Studio Unit Testing Class Template
C#
8 years ago
boilerplate
csharp
template
testing
visualstudio
Wait and Pulse Producer Consumer Queue
C#
8 years ago
consumer
csharp
producer
queue
threading
WebClient Extensions
C#
7 years ago
async
csharp
dotnet
extensions
httpclient
parallel
task
threading
webclient
First
«
22
23
24
25
26
27
28
»
More »