If you experience any problems running this solution, please check the prerequisites.
Install .NET Core 2.1.3 SDK
Docker is used to run a local instance of Elasticsearch, Kibana and SQL Server 2017.
- Install Docker
- Ensure you're running Docker with Linux containers (This is the default behaviour when installing Docker).
- Share your
C:/
drive with Docker by ticking the box in your Docker settings, which are accessible when you right click the Docker icon in your system tray.
More details on docker containers can be found in the readme-file in ./scripts/Docker/
- Execute the
docker-compose up
from powershell in the following folder: ./scripts/Docker/- The docker container contains the following services
- MsSQL (For serial numbers, submissions and users)
- ElasicSearch (For logging)
- Kibana (For log monitoring)
- The docker container contains the following services
- Build solution (using Microsoft Visual Studio 2017 or JetBrains Rider 2018.2)
- Run solution
- Open browser on the following urls:
- Acme Corporation https://localhost:5001 (Self signed Certificate)
- Kibana log monitoring http://localhost:5601
- Setup yourself or import the kibana settings
- The solution is build using onion architecture
- The domain is shared between layers, but should be as technology free as posible
- The applicaion implements the business logic, but should be as technology free as posible
- The infrastructure should implement the repositories. The infrasturcure is where all the technologies combines the solution
- ORM - EntityFramework Core
- Validation - FluentValidation
- Dependency Injection - ASP.Net Core buildin IOC.