473,804 Members | 5,054 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Naming standards/ conventions used in VS dotNet and VB dotNet

Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
....etc
I am sure where to begin to search on msdn, it's just too vast. Thanks for
your help.

Ben
Feb 14 '07 #1
6 1447
Ben,

There are no standards, so feel free to go what you want, most of us use
probably CamelCase as it is in the samples of Microsoft for C# and
VisualBasic.

If you want to read something about this, take than this search on it where
I have used Herfried as exra search word, I never saw him not involved in a
thread about this. And there is a change that I am the one who has read the
most messages from him. Although I often don't share his opinion, do I
seldom disagree with him.

http://groups.google.com/group/micro...f21d72d57331f6

Cor
"Ben" <Be*@discussion s.microsoft.com schreef in bericht
news:26******** *************** ***********@mic rosoft.com...
Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
...etc
I am sure where to begin to search on msdn, it's just too vast. Thanks
for
your help.

Ben


Feb 14 '07 #2
Cor,

Thanks so much. This is very helpful.

Ben
--

"Cor Ligthert [MVP]" wrote:
Ben,

There are no standards, so feel free to go what you want, most of us use
probably CamelCase as it is in the samples of Microsoft for C# and
VisualBasic.

If you want to read something about this, take than this search on it where
I have used Herfried as exra search word, I never saw him not involved in a
thread about this. And there is a change that I am the one who has read the
most messages from him. Although I often don't share his opinion, do I
seldom disagree with him.

http://groups.google.com/group/micro...f21d72d57331f6

Cor
"Ben" <Be*@discussion s.microsoft.com schreef in bericht
news:26******** *************** ***********@mic rosoft.com...
Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
...etc
I am sure where to begin to search on msdn, it's just too vast. Thanks
for
your help.

Ben


Feb 14 '07 #3

Well actually there is a hole book written about this

Practical Guidelines and Best Practices for Microsoft Visual Basic and
Visual C#

http://www.amazon.com/Practical-Guid...e=UTF8&s=books

regards

michel


"Ben" <Be*@discussion s.microsoft.com schreef in bericht
news:26******** *************** ***********@mic rosoft.com...
Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
...etc
I am sure where to begin to search on msdn, it's just too vast. Thanks
for
your help.

Ben


Feb 14 '07 #4
That was a great book. I read it cover to cover, and found some interesting
tips about performance in it.

Robin S.
-----------------------------------------
"Michel Posseth [MCP]" <ms****@posseth .comwrote in message
news:eQ******** ******@TK2MSFTN GP03.phx.gbl...
>
Well actually there is a hole book written about this

Practical Guidelines and Best Practices for Microsoft Visual Basic and
Visual C#

http://www.amazon.com/Practical-Guid...e=UTF8&s=books

regards

michel


"Ben" <Be*@discussion s.microsoft.com schreef in bericht
news:26******** *************** ***********@mic rosoft.com...
>Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
...etc
I am sure where to begin to search on msdn, it's just too vast. Thanks
for
your help.

Ben



Feb 15 '07 #5
Michel,

Thanks, went to Amazon.com and checked the review. Looks like a good book,
can't wait to read it.

Ben

--

"Michel Posseth [MCP]" wrote:
>
Well actually there is a hole book written about this

Practical Guidelines and Best Practices for Microsoft Visual Basic and
Visual C#

http://www.amazon.com/Practical-Guid...e=UTF8&s=books

regards

michel


"Ben" <Be*@discussion s.microsoft.com schreef in bericht
news:26******** *************** ***********@mic rosoft.com...
Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
...etc
I am sure where to begin to search on msdn, it's just too vast. Thanks
for
your help.

Ben


Feb 15 '07 #6
the most popular convention is:

DONT USE DOTNET

On Feb 14, 9:14 am, Ben <B...@discussio ns.microsoft.co mwrote:
Hi all,

Can you share with me the naming standards for the following :

VB.Net, ASP.Net Naming Standards
Namespaces
Assemblies
Classes and Structs
Collection classes
Delegate classes
Exception classes
Attribute classes
Interfaces
Enumerations
...etc

I am sure where to begin to search on msdn, it's just too vast. Thanks for
your help.

Ben

Feb 15 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
7150
by: Mark Broadbent | last post by:
stupid question time again to most of you experts but this is something that continually bothers me. I am trying to get into the habit of naming variables and controls in an assembly as per convensions. The thing is that Ive never really get the full reference to check against. Ive seen a couple of articles, but there always seems to be a bit missing. I also always seem to run into conflicting convensions both in code samples themselves...
3
4353
by: clintonG | last post by:
Does the use of DTD, XML Schema and similar constructs adopt the use of C# naming conventions? If so how do I make the distinction of how to apply C# conventions with XML elements, attributes and so on? Any referrals to resources that discuss or document XML Naming Conventions? -- <%= Clinton Gallagher, "Twice the Results -- Half the Cost" Architectural & e-Business Consulting -- Software Development NET...
5
6177
by: rastaman | last post by:
Hi all, I know of the existence of Object Naming Conventions for Visual Basic 6. Now I'm reading some books about VB .NET, but the names used for the objects are button1, picturebox1, etc. I wonder if I can use the same naming conventions as for VB6 ? If so, what about the names for the new objects in .NET. Kind regards rastaman
9
3810
by: kevininstructor | last post by:
Greetings, I am in the process of creating naming conventions for VB.NET controls i.e. CheckBox -> chkShowThisOnStartup ListBoxt -> lstSomeList What I am looking for other developers input for Window.Form controls and what they are using for naming controls.
11
5013
by: MP | last post by:
Hi, Coming from a vb6 background I am accustomed to prefixing variable names to indicate their usage. Now just beginning to try to learn database stuff I've been lurking here and working on my first database design. I was noticing that I never see peoples posts here containing prefixed object identifiers If I had a table to contain job records I thought I'd name it tblJobs
114
7889
by: Jonathan Wood | last post by:
I was just wondering what naming convention most of you use for class variables. Underscore, "m_" prefix, camel case, capitalized, etc? Has one style emerged as the most popular? Thanks for any comments. --
35
12201
by: Smithers | last post by:
Is it common practise to begin the name of form classes with "frm" (e.g., frmOneForm, frmAnotherForm). Or is that generally considered an outdated convention? If not "frm" what is a common or recommended practise? Thanks.
9
7036
by: BillCo | last post by:
I'm coming from a MS Access background and so I'm very used to and comfortable with the hungarian (Leszynski et al) naming conventions. However, I'm getting started into my first SQL Server Database and really want to use the appropriate up to date standard naming convention (ISO compliant). I think I have the general idea from raking though countless conflicting sites and posts, but I'm a bit stuck on what to do regarding pk / fk naming
17
4344
by: Miguel Guedes | last post by:
Hello, Does anyone have a link to the C++ Standard Library naming conventions that they could share? I have found a few links to pages on C++ naming conventions but am unsure as to what standard they follow. Best Regards, -- Miguel Guedes
0
9706
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10332
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10320
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10077
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9150
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6853
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5521
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5651
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.