Skip to content

Rider Profiles

Fredrik August Madsen-Malmo edited this page Feb 24, 2021 · 1 revision

Rider launch 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

Staging vs. 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.

Setup

This is the final result;

Screenshot 2021-02-24 at 13 15 29

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.

Docker

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;

Screenshot 2021-02-24 at 13 20 14

Note that this docker image runs in staging mode.