Skip to content

Infrastructure Layer

This layer provides interaction with the external world and contains technical details.

Included Subfolders:

  • Adapters: Hexagonal Architecture adapters
  • Input: Adapters handling requests from external world
  • Rest: HTTP API adapters
  • InBus: Message consumers
  • Output: Adapters communicating with external systems
  • Persistence: Database operations
  • Bus: Message publishers
  • DbMigrator: Database migration tool

Input Adapters:

  • Serender.[SERVICE_NAME].Rest: RESTful API Controllers and DTOs
  • Serender.[SERVICE_NAME].InBus: RabbitMQ message consumers

Output Adapters:

  • Serender.[SERVICE_NAME].Persistence: Entity Framework Core repositories
  • Serender.[SERVICE_NAME].Bus: RabbitMQ message publishers
  • Serender.[SERVICE_NAME].DbMigrator: Database migration console app