Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Small Commits Workshop

Build status


Getting Started

  • Clone this repo
  • Fork this repo
  • Configure Git to push to your fork by running:
    # Over SSH
    git remote set-url origin --push<username>/small-commits-workshop.git
    # Over HTTPS
    git remote set-url origin --push<username>/small-commits-workshop.git
  • Set up .NET Core 2.1 for Visual Studio 2017 via the .NET Core Guide
  • Open SmallCommitsWorkshop.sln using Visual Studio 2017
  • Run the tests in the SmallCommitsWorkshopTests project
  • Start the app by clicking on the green arrow with label IIS Express
  • This should launch the app in your browser and automatically navigate to the /api/users route.
    • If this doesn't work, contact Mark or Carl and they'll help you out.
  • While on /api/users/, you should see the following response:

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.

OS / Visual Studio Alternatives

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