Skip to main content
snippets
S
nippets
C#
Snippets
Date
•
Title
Random Password Generator
C#
1 year ago
csharp
generator
password
random
Range Requests in ASP.NET MVC
C#
8 years ago
aspnet
attribute
csharp
file
filter
mvc
stream
video
Read File without Locking
C#
6 years ago
csharp
file
lock
threading
ReaderWriterLockSlim Extensions
C#
6 years ago
csharp
extensions
readerwriterlockslim
threading
threadsafe
Reading Text Files
C#
7 years ago
byte
csharp
dotnet
examples
file
linebreak
lines
read
Redirect To Https Attribute
C#
8 years ago
aspnet
attribute
csharp
filter
https
mvc
Reflection Helper Utils for .NET
C#
9 years ago
csharp
helpers
library
reflection
utils
Register Callbacks for Cancellation Requests
C#
6 years ago
async
cancellation
cancellationtokensource
csharp
examples
task
threading
token
Remove Invalid XML Characters
C#
3 years ago
character
csharp
sanitize
string
validation
xml
Remove non-printable ASCII characters
C#
10 years ago
ascii
csharp
string
trim
Remove Special Characters
C#
7 years ago
character
csharp
dotnet
extensions
sanitize
string
Repeat String C# Extension Method
C#
3 years ago
char
csharp
extensions
repeat
string
Replace Illegal XML Characters
C#
7 years ago
character
csharp
helpers
replace
sanitize
text
validation
xml
Replace Invalid XML Characters
C#
5 years ago
csharp
helpers
regex
string
utils
validation
xml
Require HTTPS and Add HSTS Headers
C#
8 years ago
aspnet
attribute
csharp
filter
https
mvc
security
ssl
Resolve location from IP
C#
12 years ago
csharp
dotnet
ip
location
Resource String Loader Helper Class
C#
7 years ago
assembly
class
csharp
helpers
resource
string
Rethrowing Exceptions Caused During Singleton Initialization
C#
9 years ago
csharp
examples
exception
patterns
singleton
Retrieve Environment Variable Helper
C#
3 years ago
csharp
env
environment
environment-variable
helpers
utils
windows
Retrieve Large LDAP Multi-valued Attributes
C#
3 years ago
activedirectory
attribute
csharp
helpers
ldap
utils
First
«
15
16
17
18
19
20
21
22
23
24
25
»
Last
More »