Skip to main content
Difference between Convert.ToString() and ToString()

Difference between Convert.ToString() and ToString()

In this post, we will explain the difference between .ToString() and Convert.ToString() methods in C#. The basic difference between them is “Convert.ToString()” handles NULL values while “.ToString()” doesn’t. Which means if the variable being passed to Convert.ToString() is NULL, it won’t throw an exception. Whereas, “.ToString()” does not handle NULL values and it will throw […]

Read More

Forms Authentication in ASP.NET with an example

This post talks about one of the four types of Authentication system available in ASP.NET. The forms authentication ticket is usually contained inside a cookie. Forms authentication processing is handled by the FormsAuthenticationModule class, which is an HTTP module that participates in the regular ASP.NET page processing cycle. These are the following aspects of implementing security in asp.net web application. Authentication It is the process […]

Read More