Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 1.05 KB

README.md

File metadata and controls

24 lines (23 loc) · 1.05 KB

Description

Simple C# application, which initiates calculation of Fibonacci seq for a data set. For this, app creates RabbitMq for each series of calculations, sends to API request with data and queue name, and then waits for updates from rabbit.

Requirements

Required user secrets file to run (offical doc). It should have following structure:

{
  "RabbitMQ": {
    "NodeIp": "",
    "Port": ,
    "UserName": "",
    "Password": ""
  },
  "API": {
    "FibonacciNumsEndpoint": "https://..../api/v1/FibonacciNumbers"
  }
}

After that you need to specify path to .json file with secrets in 'program.cs' file:

IConfiguration config = new ConfigurationBuilder().AddJsonFile("PATH HERE").Build();

How it works

2023-12-24.20-48-39.mp4