EF-Core_Dapper_Tutorial
Entity Framework Core and Dapper Tutorial
BackEnd
Documentation pages made with Doxygen (with Graphviz dependency to generate the class diagrams)
Personal notes
Persistence layer:
Ideally, the following files should be at the- EF-CoreDapperTuto.Domain/Interfaces/IApplicationDbContext
- EF-CoreDapperTuto.Domain/Interfaces/IApplicationReadDbConnection
- EF-CoreDapperTuto.Domain/Interfaces/IApplicationWriteDbConnection
Ideally, the following files should be at the Application layer (that doesn't exist in the tutorial):
The methods that deals with HTTP requests
The file EF-CoreDapperTuto.API/Controllers/EmployeeController.cs contains all the implementation of the sql queries... Ideally, it should be done on the Persistence layer. Then called by another method on the Application layer, that would be used by the API layer (the controller).
Omnisharp
Sometimes it drives me nuts... 😜