ASP.NET Applications without Web Projects

Darrell Norton commented on one of my recent posts, “Fritz Onion and others liked to use class libraries instead of ASP.NET projects. In the Whidbey version, I believe you will be able to run an ASP.NET project without IIS installed at all, so you will no longer need to create virtual directories.“

This, I must try.  If you use source control integration in Visual Studio .NET 2002 or 2003, be it VSS, ClearCase, PVCS, & etc, I encourage you to see if this works for you.  I discovered a link to the Fritz Onion method Darrell mentions on a page over at FlexWiki:


Comments (5)

  1. Don says:

    This is a great tip. Any chance someone could talk the VS team into sneaking it into Whidbey?

  2. Don says:

    Doh, on a second reading it looks like I misread Darrell’s comment. I guess the correct comment for me to have submitted would have been more along the lines of "Any chance someone could thank the VS team for sneaking an even better trick into Whidbey?" 🙂


  3. A problem I have with VS.NET and its project conventions is that it does not allow me to keep a project structure hierarchial and in sync with namespace structure.

    For example, I do a lot of web development projects and like to structure my namespaces as follows:

    Product.sln contains the following projects and namespaces:

    <Company Name>.<Product> contains business logic as is one project.

    <Company Name>.<Product>.Web.WebControls contains custom web controls and may be a part of the business logic project above or may be its own project.

    <Company Name>.<Product>.Web.Website is the web project that is the website.

    In VS.NET 2003 I can achieve this structure by manually hacking project and solution files. The PDC bits of Whidbey throw up all sorts of roadblocks when I try to arrive at the same.

    Question: why does the VS.NET team feel it inappropriate for the source code directory structure to follow the namespace structure?

  4. rape stories says:

    Best of the text i read about a problem.

  5. gay rape says:

    We are wellocme to it’s configuration.