これは、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
- 上記のフォルダは正しいですか?
- DependencyResolution プロジェクトの場所は Domain フォルダーにありますか?
- インフラストラクチャ内の各プロジェクトには、コア プロジェクト内のインターフェイスを、それが含まれているプロジェクト内の実装に登録する DependencyRegistrar ファイルを含める必要がありますか?
- WebApi プロジェクトを Presentation->Api に配置する必要がありますか? プレゼンテーションですか?
- 各プロジェクトのすべての単体テストを「Tests」フォルダーに配置する必要がありますか?
前もって感謝します。