Is it something wrong to have a namespace

N

Nirosh

Hi All,

True that I am too late to start a project with ASP.NET 2.0.. I am just
struggling a bit at the start here.. I have a post here already on a similar
topic.. but I thought to have a fresh question..

Is it not recomended/ not needed to have a namespace for web pages in a
ASP.NET web site project??

Thanks,
Nirosh
 
P

PlatinumBay

Nirosh,

It is not needed at all. When you add a new page, control, etc, Visual
Studio gives it a unique name based on the filename under the covers.
Visual Studio also creates a root namespace to apply to the project.

Hope this helps,


Steve
 
P

PlatinumBay

Nirosh,

Also, if you wish to view the namespaces set up, you can do so in
Intellisense. All ASP.NET web site projects start with the namespace
Global.

Start typing "Global." and "Global.ASP." and you should see the class
hierarchy in Intellisense.

Hope this helps,


Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top