Examples were written in .NET Core 2.1. Runtimes and SDKs are available for download here: https://www.microsoft.com/net/download
Solution contains 3 projects:
- Datasource (mock of DB or other data source)
- REST API
- GraphQL API
Open solution (f.e. in Visual Studio 2017) and run one of the web projects. For REST API swagger should appear at https://localhost:44387/index.html For GraphQL API, GraphQL Playground should be available at https://localhost:44333/
Port numbers can be changed in configuration.