473,320 Members | 1,965 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Is it something wrong to have a namespace

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
Jun 6 '07 #1
2 1026
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

"Nirosh" <Ni****@News.Comwrote in message
news:uc**************@TK2MSFTNGP05.phx.gbl...
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

Jun 6 '07 #2
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

"Nirosh" <Ni****@News.Comwrote in message
news:uc**************@TK2MSFTNGP05.phx.gbl...
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

Jun 6 '07 #3

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

Similar topics

6
by: wukexin | last post by:
Help me, good men. I find mang books that introduce bit "mang header files",they talk too bit,in fact it is my too fool, I don't learn it, I have do a test program, but I have no correct doing...
1
by: Chiller | last post by:
Ok, I've implemented a few changes to the code and the bool functions now seem to be functioning correctly; however, I think I'm doing the convertions incorrectly because the values printed out...
5
by: Steve Jorgensen | last post by:
I was having a bear of a time today trying to figure out some inconsistent behavior selecting nodes from and MSXML DOM document, so I distilled the issue down to a trivial test demonstrating the...
1
by: MikeY | last post by:
Hiya all, I am developing a windows form application. I am coding in C#. What I have is two forms/Classes, frmMain & frmAdd. In frmMain I have initialize & instantiated my variable as "public...
1
by: johnny | last post by:
I am writing an application with several components and assemblies. This morning I created a new assembly with the same namespace as another one. To my surprise I could not acces objects in the...
28
by: Steven T. Hatton | last post by:
The discussion of the example code, and the example code are mutually inconsistent in the following are they not? <quote>...
5
by: Simon Brooke | last post by:
This is supposed to be a very simple XSL stylesheet to strip styling information out of HTML documents - it could not be more basic. And yet, it doesn't work. I'm obviously getting something very...
3
by: Peter Oliphant | last post by:
It's not necessary, but it would be nice if there was a way I could easily create something like a 'web browser form' or a 'display web page form' as forms in my application (in a Panel would be...
68
by: DaveJ | last post by:
Recently I was working on a project where I came across an issue where the program cored and reported "free(): invalid pointer". I found a resolution for this, but don't fully understand why the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.