ZeroSlope is a .net core micro-service scaffold with adoption and simplicity in mind. This project is meant to provide a simple and lean architecture using common industry technologies and practices. All dependencies are constructed and stored in a IoC container following the Composition Root pattern. API Documentation is auto-generated using a Swagger front-end.
This implementation focuses on a Sql Server back-end using Dapper to persist.
Libary | Version | Url |
---|---|---|
ZeroSlope.Infrastructure | 1.0.3 | VIEW |
Microsoft.AspNetCore.Mvc | 2.0.3 | VIEW |
AutoFac | 4.6.2 | VIEW |
Dapper | 1.50.4 | VIEW |
Dapper.Contrib | 1.50.4 | VIEW |
AutoMapper | 6.2.2 | VIEW |
Serilog.AspNetCore | 2.6.0 | VIEW |
Swashbuckle.AspNetCore | 2.3.0 | VIEW |
Microsoft.Extensions.Caching.Redis | 2.0.1 | VIEW |
RabbitMQ.Client | 5.0.1 | VIEW |
- Sql Server 2012-2017, Azure Sql PaaS, PostgresSQL
- .Net Core 2.0 or higher
- Docker (Optional)
- Redis Cache (Optional)
- RabbitMq (Optional)
- Windows
- Open Visual studio, and click the
Play
button.
- Open Visual studio, and click the
- Unix / MacOSX
- Open bash in the root of the solution, and use the command
dotnet restore
and thendotnet start
- Open bash in the root of the solution, and use the command
Simply run the following
docker run -d --name sqldevdb --env "ACCEPT_EULA=Y" --env "MSSQL_SA_PASSWORD=P4ssw0rd!" --env "SA_PASSWORD=P4ssw0rd!" --env "MSSQL_PID=Developer" -p 1401:1433 -d microsoft/mssql-server-linux:2017-latest
Simply run the following
docker run --name pgdb -e POSTGRES_PASSWORD=P4ssw0rd! -e POSTGRES_DB=zeroslope -p 5432:5432 -d postgres
Coming soon.
Coming soon.
Coming soon.
Coming soon.