This is the C# client to use when participating in the Domain Modeling hands-on.
Start the application:
dotnet watch run --project Recycle.WebAPI/Recycle.WebAPI.csproj
or run it from your IDE
This will start your server locally on port 8001
Make sure you have ngrok configured correctly. If unsure, please visit https://dashboard.ngrok.com/get-started/your-authtoken
ngrok http 8001
should setup the tunnel. Copy the generated url from the commandline.
You can also visit https://dashboard.ngrok.com/cloud-edge/endpoints to see the endpoints you are exposing.
Go to https://domainmodelling.dev and start a session.
Add the url you got from ngrok as a client url when asked, and validate the connection.
You are now ready to start. Follow the instructions for the exercises.
Once you get to your first failing scenario (No fractions delivered), change HandlingController.cs to return 0
instead of 1
:
const int amount = 1;