-
Notifications
You must be signed in to change notification settings - Fork 1
Rider Profiles
It might be helpful to create a set of launch profiles in Rider (C# IDE) to help you quickly start/stop the project in it's different configurations.
We will set up the following profiles;
- Docker (staging)
- Staging
- Development
Development will use the mocked responses, and doesn't actually make any calls to a remote API.
Staging will perform requests, but with development-levels of logging. It's used to test/simulate a production environment.
This is the final result;
To create a profile, simply use the +
button at the top of the window and add the relevant profiles. The staging and development profiles are straight-forward, and rely on the "Launch profiles" dropdown. Create one that matches the name of the profile.
The docker setup is also quite straight-forward. The only required change is to configure the exposed ports. Click on the (slightly misleading) folder icon and enter the following settings;
Note that this docker image runs in staging mode.
SINTEF AS 2021