Slides: https://neverendingqs.github.io/small-commits-workshop
- Clone this repo
- Set up .NET Core for Visual Studio 2017 via the .NET Core Guide
- Open
SmallCommitsWorkshop.sln
using Visual Studio 2017 - Run the tests in the
SmallCommitsWorkshopTests
project- Required: ReSharper or NUnit 3 Test Adapter
- Start the app by clicking on the green arrow with label
IIS Express
- While the app is running, navigate to
/api/users
. You should see the following response:
{"169":{"id":169,"userName":"D2LSupport","isActive":true},"175":{"id":175,"userName":"user1","isActive":false}}
Note: the app uses a self-signed certificate, and you may see warnings about it. It is safe in this specific instance to ignore the errors.
If you do not have or want to use Visual Studio, or do not want to use Windows, simply install .Net Core 2.1 SDK and use your editor of choice.
# Run tests
dotnet test SmallCommitsWorkshopTests\SmallCommitsWorkshopTests.csproj
# Run app
dotnet run --project SmallCommitsWorkshop\SmallCommitsWorkshop.csproj