AdventureWorks API: example of good architecture, clean code, unit & integration tests.
This solution was part of the DotNetMalaga meetup:
Recipes and tricks for your unit and integration tests in C#
https://www.meetup.com/es-ES/dotnetMALAGA/events/249769425/
- Architecture: Domain Driven Design
- Persistance: Entity Framework 6, Pattern Repositories
- Api consume: Swagger
- Dependency Injection: Ninject
- Class Mapping: AutoMapper
- Mock: Moq
- Fake objects creator: AutoFixture
- Asserts: FluentAssertions
- Execute Startup: WebActivatorEX
- Restore the database backup AdventureWorks:
https://drive.google.com/open?id=11m-GxQ_TVAY76NGa1kU8H3YmaPJ_wORp
RESTORE DATABASE AdventureWorks2017
FROM DISK = 'C:\TMP\AdventureWorks2017.bak' ;
- Use Visual Studio 2015, 2017 & enjoy
- 0.0.1
- First version
Javier Garcia Martinez – @javigm – jagarciam@gmail.com