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.
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();