Skip to main content
snippets
S
nippets
tag:
csharp
Kill Database Connections
C#
7 years ago
connection
csharp
database
mssql
utils
ASP.NET MVC Authorization Attribute Example
C#
7 years ago
attribute
authorization
authorize
csharp
examples
mvc
role
Simple String Cipher Class
C#
7 years ago
cipher
class
csharp
encryption
security
Normalize Line Endings
C#
7 years ago
convert
csharp
extensions
line
newline
Random Helper Class
C#
7 years ago
class
csharp
dotnet
helpers
random
threadsafe
Assert Extensions
C#
7 years ago
assert
csharp
exception
extensions
testing
throw
utils
IP Address Extensions
C#
7 years ago
csharp
extensions
ip
network
XLinq Extensions
C#
7 years ago
csharp
extensions
linq
xlinq
xml
Powerful, Easy .NET Library for Benchmarking
Markdown
7 years ago
benchmark
benchmarkdotnet
csharp
dotnet
library
performance
testing
Encrypt and Decrypt Data in Dotnet Core
C#
7 years ago
core
csharp
dotnet
encryption
examples
security
Type Extensions
C#
7 years ago
csharp
extensions
object
reflection
type
Strip Quotes from Variable in Batch File
DOS
7 years ago
csharp
quotes
string
strip
When to Abort a Thread in C#
C#
7 years ago
background
csharp
task
threading
timeout
troubleshooting
ASP.NET Core 2.0 Hosted Service Base Class
C#
7 years ago
aspnet
async
base
class
core
csharp
dotnet
task
threading
Register Callbacks for Cancellation Requests
C#
7 years ago
async
cancellation
cancellationtokensource
csharp
examples
task
threading
token
Listen for Cancellation Requests that have Wait Handles
C#
7 years ago
cancellation
csharp
event
examples
manualreseteventslim
task
threading
token
Listen for Cancellation Requests by Polling
C#
7 years ago
async
concurrency
csharp
examples
task
threading
Getting a Return Value from a Task
C#
7 years ago
async
csharp
task
threading
Generate COMBs Guid
C#
7 years ago
algorithm
csharp
generator
guid
performance
Synchronized Enumerator Class
C#
7 years ago
class
collection
csharp
enumerate
ienumerable
threading
threadsafe
First
«
11
12
13
14
15
16
17
18
19
20
21
»
Last
More »