C# example to get sub domain from url.
C# example to generate string hash(string encryption) using SHA256Managed class
Example for finding a user email address by user name in asp.net Membership.
Simple C# function to validate email address using regular expression.
C# function to validate host name using regular expressions.
Easy regular expression based IP address validation functions to validate IPV4 and IPV6 address string.
C# function to generate random password. You can customize this as per your need.
In asp.net all resources are kept in App_GlobalResources folder in .resx files. We can get resource using classkey, resourceKey and culture.
C# method to check file write permission in Asp.net application.
Method to recycle IIS AppPool using c# code. There are several methods but for me this is best one.