-
Notifications
You must be signed in to change notification settings - Fork 14
Home
Welcome to the reference-architecture-api wiki!
This repository, reference-architecture-api, is a core component of an overall reference architecture that I promote for building secure enterprise and Internet-scale web applications. The is API repository can be used as a template to build microservices in an efficient and repeatable way. There is no need to reinvent the wheel and many best practices are already baked into this solution.
This example API is built on the .NET Core and is cross platform compatiable. It can run locally on any platform that can host .NET Core and is specifically implemented to run within Linux-based Docker containers.
There are a number of key concepts contained in this repository.
- Implementing the Onion Architecture in a .NET Core solution
- Implementing a Domain Driven Design in the Onion's Core.Domain
- Encapsulating the Application Server in an Infrastructure.Server DLL
- Leveraging the Repository pattern to enable pluggable infrastructure
- Implementing global exception handling in a WebApi project
- Implementing API Authorization in .Net Core
- Implementing input validation for a WebApi project
- Hosting the service and dependencies in Docker containers
- Building the microservice with CircleCI
- Deploying Docker images to the Docker Hub repository
The sample application is a bit contrived and so some of the concepts that are demonstrated are done so in the simplest manner possible.