mercredi 7 février 2018

I have Domain Driven Design Concerns on my VS project

I am dealing with some architectural design concerns that is needed to be sorted out. My current architecture can be seen below. Each box is a project in visual studio, and they together forms solution.

My Core application is coded in WestCore.AppCore Context, and I have another project group called CSBINS (which includes system web service integrations) CSBINS is an merchant product that is why I found it better to seperate it to another project and only depend it with most commonly used interfaces from WestCore.AppCore.

Right now WestCore.Api does not have any logic in it. All the application logic is handled inside AppCore and AppCore.Csbins

The Problem is I sometimes have need to use WestCore.AppCore.Csbins services inside WestCore.AppCore which causes cross referencing issue.

the best approach right now that I think is to add Endpoint Services into WestCore.Api and move cross platform logic to Endpoint Services.

However I would like to get suggestions and design concerns about going further on this since I am very sure that there would be many design choices.

I am also considering to move common AppCore Interfaces and Classes to WestCore.AppCore.Common so that I wont need to reference whole WestCore.AppCore project to WestCore.AppCore.Csbins.

Application Architecture

Aucun commentaire:

Enregistrer un commentaire