Files
blog/content/_data/works/aspnet-core.md
2022-03-19 14:11:26 +01:00

1.5 KiB

ASP.NET Core 6 implementation, follows DDD principle, implemented with Hexa architecture and CQRS pattern. Similar to the official ASP.NET implementation but rewritten from scratch with further decoupling with dedicated project for each Hexa area, aka domain/application/infrastructure. Swashbuckle is used as default main OpenAPI generator that's perfectly integrates into the code.

Main packages involved :

  • EF Core as strongly typed ORM
  • MediatR for easy mediator implementation. It allows strong decoupling between all ASP.NET controllers and the final application which is cutted into small queries and commands
  • AutoMapper for minimal DTOs boilerplate
  • Fluent Validation for strongly typed validation
  • dotnet-format as official formatter
  • NUnit.net as framework test
  • Fluent Assertions for strongly typed assertions within the API
  • Respawn as for optimal integration tests isolation
  • Bogus for strongly typed fake data generator
  • Bullseye as a nice CLI publisher tool with dependency graph