Skip to content

Conversation

@dragongling
Copy link

Test assignment 1

  • Add Swagger
  • Store item list in SQL Server. Connection string should be stored in appsettings
  • Add error logging into file
  • Make refactoring - extract Data Access Layer and Business Layer

About DAL and BLL layers: the app logic is too simple, so extracting layers IMO actually hurts more than benefits. I used Repository pattern for data layer but didn't bother with UnitOfWork and etc. Made error handling through exceptions and middleware that catches them to avoid manually handling 404 and etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant