{"id":114,"date":"2014-05-01T12:53:00","date_gmt":"2014-05-01T11:53:00","guid":{"rendered":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/01\/standard-naming-convention-for-asp-net-and-c\/"},"modified":"2014-05-01T12:53:00","modified_gmt":"2014-05-01T11:53:00","slug":"standard-naming-convention-for-asp-net-and-c","status":"publish","type":"post","link":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/01\/standard-naming-convention-for-asp-net-and-c\/","title":{"rendered":"Standard Naming Convention for ASP.NET and C#?"},"content":{"rendered":"<div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>4 Minute, 56 Second                <\/div>\n\n            <\/div><div dir=\"ltr\" style=\"text-align: left;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><br \/>\n<\/p>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: orange;\"><b>Standard Naming Convention for ASP.NET and C#<\/b><\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">In programming language naming convention have great benefits to reduce the effort needed to read and understand source code. It provides better understanding in case of reuse code after a long interval of time. It is an initial step for beginner to learn any programming language. It is a very important element. Here I have explained some criteria about naming convention for programmer.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/p>\n<div>\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">There are different types of naming casing style. First let\u2019s understand different types of casing styles.<o:p><\/o:p><\/span><\/span><\/div>\n<p><span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/p>\n<ul style=\"line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;\">\n<li style=\"border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;\"><span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Camel Case (camelCase): First letter of the word is lower case and then each first letter of the part of the word is upper case. Example: numberOfDays<o:p><\/o:p><\/span><\/span><\/li>\n<\/ul>\n<\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<ul style=\"line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;\">\n<li style=\"border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;\"><span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Pascal Case (PascalCase): First letter of the word is upper case and then each first letter of the part of the word is upper case. Example: DataTable<o:p><\/o:p><\/span><\/span><\/li>\n<\/ul>\n<\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<ul style=\"line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;\">\n<li style=\"border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;\"><span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Underscode Prefix (_underscore): The word begins with underscore singe and for the rest of the word use camelCase rule. Example: _strFirstName<o:p><\/o:p><\/span><\/span><\/li>\n<\/ul>\n<\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<ul style=\"line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;\">\n<li style=\"border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;\"><span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Hungarian Notation: First letter of the word is about its data type and rest of the word is camelCase. Example: iStudentNumber (i=integer)<o:p><\/o:p><\/span><\/span><\/li>\n<\/ul>\n<\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<ul style=\"line-height: 1.4; list-style-image: initial; list-style-position: initial; margin: 0.5em 0px; padding: 0px 2.5em;\">\n<li style=\"border: none; margin: 0px 0px 0.25em; padding: 0.25em 0px;\"><span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Uppercase: All letters of the word are uppercase. Example: ID, PI<o:p><\/o:p><\/span><\/span><\/li>\n<\/ul>\n<\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"color: orange;\"><b><span style=\"font-family: Times, Times New Roman, serif;\">Naming Convention Guidelines<\/span><\/b><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">1.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Private Variables<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Camel Case for private variables.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: studentName<\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">2.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Local Variables<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Camel Case for local variables.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: studentName<\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">3.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Method<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Pascal Case for method name.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: public string HelloWorld { &#8230; }<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">4.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"line-height: 15.333333015441895px;\">Property\/<\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">&nbsp;<\/span><span style=\"color: #4c1130;\">Enumerations<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Pascal Case for Property\/Enumerations.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: StudentName, StudentAddress<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">5.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Parameter<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Camel Case for parameter<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Example: void SayHello(string studentName)<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">{<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">&nbsp;&nbsp;&nbsp;&nbsp; string fullMessage = &#8220;Hello &#8221; + studentName;<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">}<\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">6.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Namespace<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span>Pascal Case for namespace. Use&nbsp;<span style=\"line-height: 15.333333015441895px;\">the company name followed by the technology name and optionally the feature and design as follows:<\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">CompanyName.TechnologyName[.Feature][.Design]<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: CybarLab.Database, System.Web.UI, System.Windows.Forms<\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><\/span><br \/><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">7.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Class<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Pascal Case for class<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Example:<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">public class HelloWorld { &#8230; }<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">8.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Interface<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Pascal Case for interface. Use Prefix \u201cI\u201d with interface name, to indicate that the type is an interface. Do not use the underscore character (_).<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: IServiceProvider, IMemberDirectory<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">9.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Event<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Use&nbsp;<\/span><span style=\"line-height: 15.333333015441895px;\">Pascal Case for event.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Example: protected void Button1_Click(object sender, EventArgs e) {\u2026\u2026.}<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">10.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Exception<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Visual Studio .NET use \u201ce\u201d parameter for the event parameter to the call. To avoid conflicting please use \u201cex&#8221; as a standard variable name for an exception object.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.25in; text-indent: 0.25in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Example:<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.25in; text-indent: 0.25in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">catch (Exception ex)<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.25in; text-indent: 0.25in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">{<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.25in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/\/ Handle Exception<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.25in; text-indent: 0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">}<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">11.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Constant<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use uppercase for constant variables with words separated by underscores. It is recommended to use a grouping naming schema.<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Example (for group AP_WIN):<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; margin-left: 0.5in;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">AP_WIN_MIN_WIDTH, AP_WIN_MAX_WIDTH<\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">12.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Avoid abbreviations longer than 5 characters<\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">13.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Avoid using abbreviations unless the full name is excessive<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Example:<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Good: string student<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Not good: string stu<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">14.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"line-height: 15.333333015441895px;\">Use meaningful, descriptive words for naming variables<\/span><\/span><\/p>\n<p><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">15.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"line-height: 15.333333015441895px;\">All member variables must use Underscore Prefix so that they can be identified from other local variables names<\/span><\/span><\/p>\n<p><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">16.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"line-height: 15.333333015441895px;\">Avoid naming conflicts with existing .NET Framework namespaces or types<\/span><\/span><\/p>\n<p><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">17.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">Do not include the parent class name within a property name<\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Example<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">Good: Customer.Name<o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">Not good: Customer.CustomerName<\/span><\/p>\n<p><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">18.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"line-height: 15.333333015441895px;\">Use Pascal Case for file names<\/span><\/span><\/p>\n<p><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">19.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><span style=\"line-height: 15.333333015441895px;\">Method name should tell you what it does<\/span><\/span><\/p>\n<p><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\"><o:p><\/o:p><\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px; text-indent: -0.25in;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: #4c1130;\"><span style=\"line-height: 15.333333015441895px;\">20.<span style=\"line-height: normal;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><\/span><\/span><span style=\"line-height: 15.333333015441895px;\"><span style=\"color: #4c1130;\">A method should do only \u201cone job\u201d. Do not combine multiple jobs in one method even if those jobs have very few lines of code.<\/span><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"color: orange;\"><b>Naming Convention of ASP.NET Control<\/b><\/span><o:p><\/o:p><\/span><\/span><\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><span style=\"line-height: 15.333333015441895px;\">In general, naming ASP.NET controls is made using Camel Case naming convention, where the prefix of the name is the abbreviation of the control type name.<\/span><\/p>\n<p><\/span><\/p>\n<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 1pt dotted windowtext;\">\n<tbody>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ASP.NET Control<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">Abbreviation<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" style=\"border: 1pt dotted windowtext; padding: 0in; width: 248.5pt;\" width=\"331\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">Standard Controls<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Button<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">btn<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">CheckBox<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">cbx<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">CheckBoxList<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">cbxl<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">DropDownList<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ddl<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">FileUpload<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">fu<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">HiddenField<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">hdn<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Hyperlink<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lnk<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Image<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">img<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">ImageButton<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ibtn<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Label<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lbl<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">LinkButton<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lbtn<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">ListBox<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lb<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Literal<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lit<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">MultiView<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">mv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Panel<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">pnl<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">PlaceHolder<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ph<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">RadioButton<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">rbo<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">RadioButtonList<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">rbol<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Table<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">tbl<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">TextBox<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">txt<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">View<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">v<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" style=\"border: 1pt dotted windowtext; padding: 0in; width: 248.5pt;\" width=\"331\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">Data Controls<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">DataList<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">dtl<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">DataPager<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">dp<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">DetailsView<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">dtv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">EntityDataSource<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ets<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">FormView<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">fv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">GridView<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">gv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">LinqDataSource<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lds<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">ListView<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">lv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">ObjectDataSource<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ods<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">QueryExtender<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">qe<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">Repeater<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">rpt<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">SiteMapDataSource<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">smd<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">SqlDataSource<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">sds<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">XmlDataSource<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">xds<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\" style=\"border: 1pt dotted windowtext; padding: 0in; width: 248.5pt;\" width=\"331\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">Validation Controls<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">CompareValidator<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">cpv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">CustomValidator<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">ctv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">RangeValidator<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">rv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">RegularExpressionValidator<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">rev<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">RequiredFieldValidator<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">rfv<\/span><\/div>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 155.75pt;\" width=\"208\">\n<div>\n<span style=\"font-family: Times, Times New Roman, serif;\">ValidationSummary<\/span><\/div>\n<\/td>\n<td style=\"border: 1pt dotted windowtext; padding: 0in; width: 92.75pt;\" width=\"124\">\n<div align=\"center\" style=\"text-align: center;\">\n<span style=\"font-family: Times, Times New Roman, serif;\">Vs<\/span><\/div>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<div style=\"background-color: white; color: #444444; line-height: 14px;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/div>\n<div style=\"color: #444444; line-height: 14px;\">\n<div>\n<div style=\"background-color: white;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">In summery we can say that use Pascal Case for anything which is public. Try to avoid underscore \u201c_\u201d or hyphen \u201c-\u201d.<\/span><\/span><\/div>\n<div style=\"background-color: white;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\">&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\"><strong style=\"border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\">Pascal case<\/strong>&nbsp;is used in .NET for naming Namespaces, Classes, Methods, Properties&nbsp;etc.<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><u style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Examples:<\/span><\/u><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Namespaces:<\/span><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use&nbsp;company name then technology name and then feature name with Pascal case like XYZCompany.Media<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Classes:<\/span><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use noun or noun phrase with Pascal case like ImageViewer.<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Don&#8217;t&nbsp;use C as prefix for&nbsp;classes.<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Interfaces:<\/span><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use I as prefix with Pascal case like IViewer.<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Variables:<\/span><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Either use Camel case like&nbsp;userID or Pascal case like UserID<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Controls:<\/span><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use 3 digit prefix with Camel case.<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Textbox: txtName<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Button: btnName<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Label: lblName<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Panel: pnlViewer<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Image: imgName<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Properties:<\/span><\/strong><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use noun or noun phrase&nbsp;with Pascal case like UserID, Password etc.<\/span><\/span><\/div>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<strong style=\"background-color: white; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;\"><span style=\"font-family: Times, Times New Roman, serif;\">Methods:<\/span><\/strong><\/div>\n<p><span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif; line-height: 15.333333015441895px;\"><\/span><\/span><\/p>\n<div style=\"border: 0px; color: #222222; line-height: 18.211200714111328px; margin-bottom: 18px; outline: 0px; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: white;\"><span style=\"font-family: Times, Times New Roman, serif;\">Use verb or verb phrase with Pascal case like InsertQuery(), GetUserInfo() etc.<\/span><\/span><\/div>\n<\/div>\n<div>\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/span><\/div>\n<div style=\"background-color: white;\">\n<span style=\"line-height: 15.333333015441895px;\"><span style=\"font-family: Times, Times New Roman, serif;\"><a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/aa263493(v=vs.60).aspx\" target=\"_blank\" rel=\"noopener\">http:\/\/msdn.microsoft.com\/en-us\/library\/aa263493(v=vs.60).aspx<\/a><\/span><\/span><\/div>\n<div style=\"background-color: white;\">\n<span style=\"font-family: Times, Times New Roman, serif;\"><br \/><\/span><\/div>\n<div style=\"background-color: white;\">\n<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/ms229045(v=vs.110).aspx\" target=\"_blank\" rel=\"noopener\"><span style=\"font-family: Times, Times New Roman, serif;\">http:\/\/msdn.microsoft.com\/en-us\/library\/ms229045(v=vs.110).aspx<\/span><\/a><\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Standard Naming Convention for ASP.NET and C# In programming language naming convention have great benefits to reduce the effort needed to read and understand source code. It provides better understanding in case of reuse code after a long interval of time. It is an initial step for beginner to learn any programming language. It is [&hellip;]<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[23,24],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-asp-net","category-c-net"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Himanshu Namdeo","author_link":"https:\/\/debuggersspace.com\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"Standard Naming Convention for ASP.NET and C# In programming language naming convention have great benefits to reduce the effort needed to read and understand source code. It provides better understanding in case of reuse code after a long interval of time. It is an initial step for beginner to learn any programming language. It is&hellip;","_links":{"self":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":0,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"wp:attachment":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}