Demo to showcase best practices for developing REST APIs with .NET, clean code examples and good approaches to architecture.
This project contains a complete REST API base, which can be extended with further functionality. It showcases the hexagonal architecture, described by Martin Fowler.
Download Rider or
Visual Studio and open the projects
.sln
file. All launch profiles should be detected automatically and you
can directly start or debug the application.
If you're not using an IDE you can download and install the latest .NET SDK.
dotnet restore
dotnet run --project Contonso.API.Web
Permission to modify and redistribute is granted, free of charge, under the MIT license. See LICENSE file for the full license. This license is applicable for all files in this repository, unless a different license is explicitly specified.
All contributions are welcome, if you have ideas, improvements or suggestions feel free to open an issue or a pull request on GitHub.