Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Namespace name convention
Message
 
 
To
31/03/2007 21:38:52
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01210834
Message ID:
01210971
Views:
15
Thank you, Bonnie. It is clear now. I have to now come up with a good naming convention of my namespaces so that it makes sense when I have to maintain the app.

>Yes, right-click on the project in Solution Explorer ... that is what Einar meant.
>
>BTW, in addition to changing my Default namespace, I also change the Assembly name too (this will be the actual filename of the DLL).
>
>~~Bonnie
>
>
>
>>>It is a good practice to use the MyCompany.MyApplication.Business.MyBusinessClass. approach for your namespaces, but use an abreviation for your company name (because you will be typing it a lot <s>). I use "ALS" for my apps at work so that when I type "ALS." intellisense takes over.
>>>
>>>You can change each class you create manually but that would be a pain in the a$$. so the wonderful people at M$ added a way to set a default namespace for an assembly in VS. Just righ-click your assembly in the solution explorer and select properties. Then change the Default Namespace to DL.MyApp....whatever
>>>
>>>HTH,
>>>Einar
>>
>>When you are saying click on he assembly, what is it? I can click on the Solution name and get properties but that does not have a default Namespace. When I right mouse click on a project and select properties, I can see default NameSpace. Is that what you mean by assembly?
>>
>>Thank you for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform