Hi,
I am doing a Project designing and development of all the three
tiers(Presentation, Business and Database). In the Presentation tier
are there any patterns should be followed.
I want to know what is the standard way of naming web form controls
and methods in the C# Codebehind.
Thanks.
laziers@gmail.com - 02 Dec 2007 07:34 GMT
> I want to know what is the standard way of naming web form controls
> and methods in the C# Codebehind.
Hi
Check in the Microsoft FxCop, tier "Naming Rules", maby there You will
find the answers.
Eliyahu Goldin - 02 Dec 2007 10:29 GMT
I am not aware about any formal naming conventions.
I personally prefix server control names with 3 letter abbreviation of the
class name, like txtUserName for a TextBox or ddlState for a Dropdown List.
For methods I use rather long names that describe the method purpose, like
populateUserGrid().

Signature
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
> Hi,
>
[quoted text clipped - 6 lines]
>
> Thanks.