Please any way to get mongodb connection string in startup.cs ?

Saturday, April 20, 2024 1:15:34 PM
  • Posted: Friday, March 22, 2019 10:20 PM
  • 56
Hi

please i try to user Hangfire but i need to get mongodb connection string from the setting.txt file

i need to get it in this section

public IServiceProvider ConfigureServices(IServiceCollection services)
0
  • Posted: Monday, March 25, 2019 6:46 AM
  • 953
Hi Ahmed,

I would try the FluentScheduler in your case, we use this library for tasks. I don't know Hangfire, so I'm not able to help you.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters