This is startup project for dotnet core 6. Following features are ready -
- Request Handler
- Unit Of Work pattern with Entity Framework Core.
- Repository
- Logic
Any request from a service (i.e., CoreSerivce - derived from ServiceBase) is handled by HandlerCaller. The HandlerCaller has the responsibility to process the request by finding a RequestHandler from the RequestHandlerFactory and response to the request from the ResponseFactory. Each Handler creates a unitOfWork from the UnitOfWorkFactory to further process the request and interact with the database.
- Go to package manager console
- Set the core project as default
- Run
Add-Migration
and provide a version name - Run
Update-Database