Skip to main content.

Site Map

Site Map

Solution Layout

The default solution layout of a Service Brick is as follows:

  • [Module] - This project contains all common code and integration used in the service.
  • [Module].Api - This project contains broadcasts, clients, events, DTOs, interfaces and processes exposed and used within the domain.
  • [Module].Api.Controller - This project contains all the controller implementations for the service that exposes its API.
  • [Module].AzureDataTable - This project contains the Azure Data Tables storage provider implementation.
  • [Module].EntityFrameworkCore - This project contains the EntityFrameworkCore storage provider implementation.
  • [Module].MongoDb - This package project the MongoDB storage provider implementation.

Additionally, we provide an Xunit integration test framework to ensure successful operation of your services. Implementing our test framework can achieve a high percentage of code coverage with just a few classes. The following NUnit test projects include:

  • [Module].Xunit - This library contains base tests used by the other XUnit test projects.
  • [Module].Api.Xunit - This integration test project contains client integration tests that call a running service.
  • [Module].AzureDataTable.Xunit - This integration test project contains controller tests for the Azure Data Tables storage provider implementation.
  • [Module].EntityFrameworkCore.Xunit - This integration test project contains controller test for the EntityFrameworkCore storage provider implementation.
  • [Module].MongoDb.Xunit - This integration test project contains controller tests for the MongoDB storage provider implementation.