What type of architecture is this called?

后端 未结 4 610
心在旅途
心在旅途 2021-01-30 09:31

For the web application (ASP.NET MVC) I\'m currently developing, we have the following architecture in place:

  • Data Access Layer: Logic for persisting
4条回答
  •  清酒与你
    2021-01-30 10:10

    From a high level, I'd describe it as layered architecture. Describing it as domain-driven design would also look at smaller patterns like aggregate, repository, bounded contexts, etc. I can't tell just from your description.

    If the domain layer resides in an assembly/package that doesn't reference any of the others, then it has the core of the Onion Architecture principles, which are:

    • The application is built around an independent object model
    • Inner layers define interfaces. Outer layers implement interfaces
    • Direction of coupling is toward the center
    • All application core code can be compiled and run separate from infrastructure

    A concrete thing to look for is if your DataAccess references Domain.

提交回复
热议问题