-
Hashing string using SHA & C#
C# example to generate string hash(string encryption) using SHA256Managed class
-
Get email of user from Asp.net Membership
Example for finding a user email address by user name in asp.net Membership.
-
Validate email using regular expression in C#
Simple C# function to validate email address using regular expression.
-
Validate host name using c# regular expression
C# function to validate host name using regular expressions.
-
C# validate IP address string
Easy regular expression based IP address validation functions to validate IPV4 and IPV6 address string.
-
C# generate random password
C# function to generate random password. You can customize this as per your need.
-
Best way to get asp.net resource objects by Culture
In asp.net all resources are kept in App_GlobalResources folder in .resx files. We can get resource using classkey, resourceKey and culture.
-
Best way to check File write permission of Asp.net
C# method to check file write permission in Asp.net application.
-
How to recycle IIS AppPools in Asp.net programmatically
Method to recycle IIS AppPool using c# code. There are several methods but for me this is best one.
-
Asp.net best way to get client IP address
Asp.net example to get client address ysing X-Forwarded-For HTTP header.