Author: stoanhart | Posted on: 6/20/2008 10:30:57 AM | Views : 415


Hi everyone,



This is my first major asp.net project, and it's an Intranet application for a retail company. The basic architecture I am using has three namespaces:



User: All code for UI elements like custom controls, etc.

Logic: Business logic where objects like Customer, Order, ShoppingCart, Employee and so forth exist.

Data: All DB access occurs here.


The idea is that the user layer only accesses the logic layer, and the logic layer only accesses the data layer to keep everything modular and extendable in the future. The whole project itself has the namespace Intranet, so then the available namespaces are Intranet.Logic, Intranet.Data, and Intranet.User.


 The Problem:


I have a file in the data layer like so:



Imports Intranet.Logic

Namespace Data
Go to the complete details ...