20/06/2015 by Nitesh

How To Keep IIS Express Running After Debugging is Stopped in Visual Studio 2012

Friends, In Visual Studio 2012 whenever you debug a web application and open the application in Chrome/Firefox, the application used to run even after you have stopped debugging. This means, you can stop debugging, edit some piece of code, rebuild and just refresh the page in browser to test things. However, in Visual Studio 2013…

Continue Reading »

23/04/2015 by Nitesh

Solution: The server response was: 5.7.0 Must issue a STARTTLS command first. i16sm1806350pag.18 – gsmtp

Friends, When sending emails via code using Gmail as mail server, we sometime get this error. This blog post explains the error and the solution to the same. Reason: The error occurs when the code tries to authenticate Gmail server using the given credentials over non-SSL layer and does not encrypt the connection. Solution: To…

Continue Reading »

02/01/2015 by Nitesh

Validate Email Using Regex in C#

Friends, In this small post, I will show you how we can validate a string as proper email or not using Regex class in C#. Below is the code – public bool ValidateEmail(string emailAddress) { string regexPattern = @”^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$”; Match matches=Regex.Match(emailAddress,regexPattern); return matches.Success; } The above function takes a string parameter and returns if the…

Continue Reading »

26/12/2014 by Nitesh

How To Add a Sub-Domain to Your Website Using Control Panel in Arvixe

Friends, This blog post will explain you the steps required to create a new sub-domain in your top-level domain from Control Panel of your Arvixe hosting. To start with, log into your Control Panel of Arvixe hosting and follow the below steps – Click Domains Click Add Domain Click Sub-domain Perform the following steps on…

Continue Reading »

06/06/2014 by Nitesh

How To Find Controls present in HeaderTemplate or FooterTemplate of Repeater Control in ASP.Net

Friends, While working with Repeater controls we all have used the ItemDataBound event to apply changes to specific records based on the data present in the record. Many of times we have used FindControl() event to do so. In this post, we will see how can we find a control present in the HeaderTemplate or…

Continue Reading »

1 2 3 4 7