Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

Is it something wrong to have a namespace

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nirosh - 06 Jun 2007 03:11 GMT
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
PlatinumBay - 06 Jun 2007 04:54 GMT
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

> Hi All,
>
[quoted text clipped - 7 lines]
> Thanks,
> Nirosh
PlatinumBay - 06 Jun 2007 04:58 GMT
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

> Hi All,
>
[quoted text clipped - 7 lines]
> Thanks,
> Nirosh

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.