maalsi2022-kubernetes

View on GitHub·0 stars·0 forks·C#

project source : https://www.c-sharpcorner.com/article/rabbitmq-message-queue-using-net-core-6-web-api/

  1. install rabbitmq (helm chart or other way) helm chart config:
  • auth.username
  • auth.password
  • annotations with nginx ingress controller dont forget to expose 5672 port on localhost
  1. update api and console app configuration in related appsettings.json file
  • rabbitmq hostname
  • rabbitmq username
  • rabbitmq password
  1. migrate database update database connection strings in appsettings.json file in api folder and run : dotnet ef database update

  2. run both with visual studio or command line

  3. add product & read the console output