CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 4/1/2006 4:18:03 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 31 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
ADF1969
Asp.Net User
Web Application Project - Can't create project with no root namespace4/1/2006 4:18:03 AM

0/0

We prefer to create our Web Projects (all projects, for that matter) with *no* root namespace; this allows us to specify the namespace for each file at the *file* level.  It allows us to put files in a folder, use them, and then when they mature or need to be moved, move them to another file and not have to re-namespace all the references (because we established that when they were created).

This simplifies development and allows us flexibility.

Currently, if I create a WAP project without a namespace, I get some fairly odd results, like Inherits=".WebPage_aspx" entries (note the "." before the name); I assume that it just blindly prepends the "root namespace" before the page name, but since I don't *have* a root namespace, it prepends "" (empty string) before the "." and that causes an error.

Just want to point this out so it can get fixed prior to the next release of the WAP tool.

Also, if there is a workaround, let me know.

I like the tool, although it took me around 10 hours to convert our project (and I'm still not even done)...it is a modest project in size, but it uses base pages and a fair quantity of code in other projects and the "no root namespace" issue caused me substantial trouble...

Thanks.

Andrew Fields.

BradleyB
Asp.Net User
Re: Web Application Project - Can't create project with no root namespace4/3/2006 4:56:07 PM

0/0

Thanks for bring this to our attention.  I've entered a bug to track the issue.  Other than the empty root namespace problem have you been runing into other issues?

Thanks, Brad.

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET 2.0 MVP Hacks and Tips Authors: David Yack, Joe Mayo, Scott Hanselman, Fredrik Normén, Dan Wahlin, J. Ambrose Little, Jonathan Goodyear, Pages: 400, Published: 2006
Pro VB 2008 and the .NET 3.5 Platform Authors: Andrew Troelsen, Pages: 1377, Published: 2008
Beginning Object-Oriented ASP.NET 2.0 with VB.NET: From Novice to Professional Authors: Brian R. Myers, Pages: 193, Published: 2005
Professional Refactoring in Visual Basic Authors: Danijel Arsenovski, Pages: 517, Published: 2008
Professional VB.NET Authors: Fred Barwell, Richard Case, Bill Forgey, Billy Hollis, Jonathan Pinnock, Tim McCarthy, Richard Blair, Jonathan Crossland, Whitney Hankison, Jan Narkiewicz, Rockford Lhotka, Rama Ramachandran, Matthew Reynolds, John Roth, Bill Sheldon, Bill Sempf, Pages: 1032, Published: 2002
Developing Web Applications with Visual Basic.NET and ASP.NET Authors: John Alexander, Billy Hollis, Pages: 400, Published: 2002
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
Foundation Flex for Developers: Data-Driven Applications with PHP, ASP. Net, Coldfusion, and LCDs Authors: Sas Jacobs, Koen de Weggheleire, Pages: 545, Published: 2007
Professional Visual Studio 2005 Team System Authors: Jean-Luc David, Tony Loton, Erik Gunvaldson, Christopher Bowen, Noah Coad, Darren Jefford, Pages: 700, Published: 2006
A Tester's Guide to .NET Programming Authors: Randal Root, Mary Romero Sweeney, Pages: 606, Published: 2006

Web:
Beta 1, Web Application Projects, namespace problems... - ASP.NET ... If you create project "WAP1", that will be your root (default) ... again i have no difficulty in using classes from the project so i can't ...
Migrating a VS 2005 Web Site Project to VS 2005 Web Application ... To create a new VS 2005 Web Application Project in a new solution, .... You can easily add namespaces in code to existing classes within VS using the ...
Compiled Thoughts: Web Site vs. Web Application Project A web site has no project file. The "site" is simply the collection of files ... of the root namespace defined in the project (typically the project name). ...
Structuring Solutions and Projects By default, when you create a new ASP.NET Web application, the project file is located .... NET projects expose the root namespace via project properties. ...
Visual Web Developer Team Blog : Visual Studio 2008 SP1 Beta To create one of these projects, you can simply go to File > New Project. ..... No web application projects are available from any menu. ...
CodeProject: Web-Application Framework - Catharsis - Part VII ... Sep 24, 2008 ... (Re)Create all entity’s infrastructure menu item can be found on .... If you are on the project level, the Root namespace suggestion will ...
Help with Compiling under Web Application Project - v1.9.3 Issues ... I am trying to compile 1.9.3 under a Web Application project. ... I can't add YAF as a project to my solution without getting these errors, ...
VS 2005 Web Application Project Release Candidate Now Available ... ASPX files no longer locked when debugging. Support for root-path based image and stylesheets ..... So sad I can't use the lasted Web Application Project. ...
15 Seconds : Effective Application Structure and Naming in .NET Figure 6 - Creating an ASP.NET Web Application project called ... By effective project and namespace naming standards, developers can rest assured that they ...
ScrewTurn Software Blog Basically, there will be a root namespace and a number of sub-namespaces, .... The web application part of the project is now a real compiled Web ...




Search This Site:










(newbie) kindly request for a howto

publishing a non-hosted website ???

new site built on dnn based on the original ibuyspy potal!

can' t use ie web controls in vs.net

why can't i set the value of my component in a page event?

verifying the answer by user to his secret question in code ?

http://www.ucanuse.com/ needs some upgrade help.. over a day now

what control should i use

error adding object to linq to sql class

images visualisations

how do i remove the "(dnn 3.1.1. )" from the title?

dnn support

pa installer, enhancement to core? code provided. folder name issues.

accessing the username in codebehind

asp.net web application administration tool throws error

denying all other roles?

using forms authentication and windows authentication together

bb code highlight

pdc 2005 birds of feather

asp.net session state in oracle

dnn 2.1.2 module - logged in user

netscape 7.1 & postback

connectionstring and and membership methods

is this good role management?

dynamic web user controls

how to fire the validation summary

migrating of enterpriselibrary project from 1.1 to 2.0

c# version

source controll management tool?

datagrid update function

 
All Times Are GMT