|
|
 |
 |
 |
 |
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
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" <Nir @News.Com> wrote in message news:ucmPz$9pHHA.1776@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
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" <Nir @News.Com> wrote in message news:ucmPz$9pHHA.1776@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
|
 |
 |
 |
 |
|