0

これは、Onion Architecture を実装する最初の試みです。

ここに画像の説明を入力

AppService -> folder for the abstractions for the entire Application
Business -> Business logic using the abstractions in the Core project
DataService -> folder for abstractions that are implemented in the DataAccess project
Model -> Entities used by the application
WebService -> folder for abstractions that are implemented in the WebAccess project
  1. 上記のフォルダは正しいですか?
  2. DependencyResolution プロジェクトの場所は Domain フォルダーにありますか?
  3. インフラストラクチャ内の各プロジェクトには、コア プロジェクト内のインターフェイスを、それが含まれているプロジェクト内の実装に登録する DependencyRegistrar ファイルを含める必要がありますか?
  4. WebApi プロジェクトを Presentation->Api に配置する必要がありますか? プレゼンテーションですか?
  5. 各プロジェクトのすべての単体テストを「Tests」フォルダーに配置する必要がありますか?

前もって感謝します。

4

1 に答える 1