Number of the line code in the asp.net is calculated using tool called "Code Metrics" which is an (vb.net) application. CLOC is expressed as the code loc. The instruction to count the number lines of the code is given below.
To get Count Lines of Code(CLOC) in asp.net(vb.net),there is a tool called "Code Metrics" in Visual Studio 2008 and 2010.
This tool counts the lines of code in a project.
Solution Explorer --> Choose project --> right-click --> Select "Calculate Code Metrics".
Code Metrics window, shows the lines of code per project, namespace, class or method in the table view.