Architectural decisions: ASP.NET MVC & Entity Framework

前端 未结 6 774
梦如初夏
梦如初夏 2021-02-06 19:29

I\'m having an architectural decision-problem: We\'re about to build a new application and we\'ve decided we\'ll be using ASP.NET MVC and Entity Framewo

6条回答
  •  我在风中等你
    2021-02-06 20:02

    A basic strategy could contain the following:

    • Data Project
      • EF Model
      • Entites/T4 generations
    • Logic Project
      • Application rules
      • Logic not relating to presentation of the data
    • Site Project
      • Presentation/aggregation logic (in the controllers/views)
      • Views
      • Scripts/assets
      • Models (for communication between controller and view only)
    • Mobile project
      • Same stuff as Site but for a mobile target

提交回复
热议问题