Service
Folders structure
This section describes the standard folder structure of a service repository, organized to streamline development, deployment, and testing processes.
Structure
contract/
- Contains the OAS (OpenAPI Specification) definition, which may be auto-generated
- Includes other configuration files related to service contracts
deploy/
- Hosts deployment configuration files for continuous deployment (CD)
playground/
- Provides sample HTTP requests to showcase and test the service's functionality
src/
- Contains .NET project files
- Houses the actual service implementation
./azure-pipelines.yml
- Defines the CI/CD pipeline for the service
Service as a deployable unit
A service represents a standalone, deployable component within the project. Each service is designed to operate independently, encapsulating specific functionality, and is packaged for deployment in a k8s environment. This approach ensures modularity, scalability, and ease of maintenance.
Template
This section outlines the process of using a predefined, project-specific template to create a new service, ensuring consistency and alignment with project requirements.