Dapp.Api
Web API solution based Dapper MicroORM And Dapper infrastructure + UnitOfWork, Repository patterns
Project structure
1. Data Access layer (Data/Infrastructure, Data/Repositories)
- UnitOfWork.cs
- ConnectionFactory.cs
- RepositoryBase.cs
- Repositories (DeviceRepository.cs)
2. Services
- DeviceService.cs
3. API (Controllers)
- DevicesController.cs
Installation
- Clone repository
- Run UnitTests.
- Run SQL scripts (
1-CreateDatabase.sql
then2-InitDatabase.sql
) inData\Scripts
to create and initialize the database. - Build / Run.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
History
All changes can be easily found in RELEASENOTES
License
This project is licensed under the MIT License