Application Layers And Naming Ideas

Application Layers And Naming Ideas

These ideas are based on Page 24 of the Web Architecture Pocket Guide from Microsoft, to help with naming for namespaces and DLLs and etc, to provide a generic project layout that can be used for most sites and app, IMHO.

<ApplicationLayers>


MyApp.Presentation.Components
>>> (website and “*.ascx” and “*.ascx.cs” and etc)

MyApp.Presentation.DLL
MyApp.Presentation.Helpers
MyApp.Presentation.Logic

MyApp.Presentation.Tests.DLL

MyApp.Services.DLL
MyApp.Services.Helpers
MyApp.Services.Interfaces
MyApp.Services.Messages

MyApp.Services.Tests.DLL

MyApp.Business.DLL
MyApp.Business.Components
MyApp.Business.Helpers
MyApp.Business.Objects
MyApp.Business.Workflow

MyApp.Business.Tests.DLL

MyApp.TransferObjects.DLL
>>> (custom DataSet class and etc)

MyApp.TransferObjects.Tests.DLL

MyApp.Data.DLL
MyApp.Data.Components
>>> (XSD and TableAdapter and Designer and etc)
MyApp.Data.Helpers
MyApp.Data.Agents

MyApp.Data.Tests.DLL

MyApp.Common.DLL
MyApp.Common.Communication
MyApp.Common.Helpers
MyApp.Common.Helpers.Constants.cs
MyApp.Common.Helpers.Generator.cs
MyApp.Common.Helpers.Enumerations.cs
MyApp.Common.Helpers.Utility.cs
MyApp.Common.Helpers.Validator.cs
MyApp.Common.Operational
MyApp.Common.Security

MyApp.Common.Tests.DLL

</ApplicationLayers>

 

Advertisements