You can read more in the following blog posts:
- https://medium.com/slalom-build/introducing-black-slope-a-dotnet-core-reference-architecture-from-slalom-build-3f1452eb62ef
- https://medium.com/slalom-engineering/black-slope-setup-and-insights-e05ab58e2960
Install the latest verison of .NET Core for Windows/Linux or Mac.
dotnet build src/BlackSlope.NET.sln
- Install SQL Server Developer 2019
https://www.microsoft.com/en-us/sql-server/sql-server-downloads
- Update connection string server name and credentials in appsettings.json
MoviesConnectionString
- Open PowerShell to your repository root directory and run the following command:
dotnet ef database update --project src/BlackSlope.Hosts.Api/BlackSlope.Hosts.Api.csproj
- If successful, the result of the above command will be similar to the following example:
Build started... Build succeeded. Applying migration '20190814225754_initialized'. Applying migration '20190814225910_seeded'. Done.
dotnet run --project src/BlackSlope.Api/BlackSlope.Api.csproj
dotnet test ./src/
Open your browser and navigate to http://localhost:51385/swagger
to view the API documentation
The following rules are currently ignored.
Rule Id | Rule Title |
---|---|
SA1101 | Prefix local calls with this |
SA1309 | Field names should not begin with an underscore |
SA1629 | Documentation text should end with a period |
SA1633 | File should have header |
SA1600 | Elements should be documented |
SA1614 | Element parameter documentation must have text |
SA1616 | Element return value documentation must have text |