Skip to content

Repository files navigation

Setup

Setup environment variables for the project

	RMQ_URL=<amqp://<username>:<password>@<hostname>:5672/v_host>
	TRANSACTION_QUEUE=<queue_name>
	ADMIN_QUEUE=<queue_name>
	EMAIL_QUEUE=<queue_name>

Setup User secrets for the project

With Visual Studio

  1. Open the project in Visual Studio
  2. Right click on the project and select Manage User Secrets
  3. Add the following secrets to the secrets.json file:
    {
      "RabbitMQ": {
    	"RMQ_URL": "amqp://<username>:<password>@<hostname>:5672/"
      }
    }

With .NET CLI

  1. Open a terminal in the project directory
  2. Run the following command:
    dotnet user-secrets init
    dotnet user-secrets set "RabbitMQ:RMQ_URL" "amqp://<username>:<password>@<hostname>:5672/"
  3. Verify that the secret was added by running:
    dotnet user-secrets list
  4. The output should be similar to:
    RabbitMQ:RMQ_URL = amqp://<username>:<password>@<hostname>:5672/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages