Tips n Tracks

  • Increase font size
  • Default font size
  • Decrease font size
  • default color
  • black color

Reference

Sample image

Microsoft .NET Framework Get Details.

Sample image

Microsoft .NET Framework Get Details.

Reference

Sample image Microsoft .NET Framework Get Details.
Sample image

Microsoft .NET Framework Get Details.


ASP.NET Coding Standards and Guidelines


ASP.NET Coding Standards and Guidelines

1. Prefix user control names with “uc”

2. The rest of the user control name should be in Pascal Casing (Ex. ucMyUserControl)

3. Do not use session variables throughout the code. Use session variables only within the classes and expose methods to access the value stored in the session variables.

4. Do not store large objects in session, it may consume lot of server memory depending on the number of users.

5. Always use style sheet to control the look and feel of the pages.

6. Categories data and store it in predefine folder depending on its working.(e.g.- store all images, sound, video files in media or image folder)

Control Name Abbreviations/ Prefixes Remarks
Form wf,frm  
Textbox Txt  
TextArea Txa  
Checkbox Chk  
Check Box List Chklst chklstCurrency
Label Lbl  
Hidden Elements Hdn  
Combo Box / Drop Down Cbo  
Button cmd,btn  
Submit Button smt  
Reset Button rst  
Link Button lbtn lbtnSave
Image Button ibtn ibtnExit
Password Field pwd  
Radio Button opt  
Radio Button List optlst optlstSelect
List Box lst  
Frame fra  
Image img  
Pointer ptr  
Panel pan,pnl pnlBackground
Place Holder plh  
Calendar cal  
Ad Rotator adr  
Table tbl tblAppointments
Range Validator rav,rgv  
Regular Expression Validator rev  
Regular Field Validator rfv  
Compare Validator cmv  
Custom Validator cuv,csv  
Validation Summary vsm  
XML Xml XmlDataFile
File Field Fle  
Literal Lit  
Arraylist Al  
Hyperlink hyp  
DataGrid dtg,dgr  
DataList dtl  
Repeater rpt rptReport
Flow Layout Panel flp  
Grid Layout Panel glp  
Horizontal Rule hr  
Crystal Report Viewer crv,crvr crvReport

 

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

[...] ASP.NET Coding Standards and Guidelineshttp://www.tipsntracks.com/37/asp-dot-net-coding-standards-and-guidelines.html [...]

Pingback by Importance of Coding Standards for .NET Development | Tips n Tracks on August 10, 2008 @ 6:13 am

Leave a comment

(required)

(required)

*
To prove that you're not a bot, enter this code
Anti-Spam Image