-
For using multiple configuration files , we use addOcelot, how to allow Reload JSON config on change |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I have the same problem |
Beta Was this translation helpful? Give feedback.
-
@neetra See definition: public static IConfigurationBuilder AddJsonFile(this IConfigurationBuilder builder,
string path,
bool optional,
bool reloadOnChange) // <-- this one!
{ } |
Beta Was this translation helpful? Give feedback.
-
Hi Netra! In the current February'24 milestone we worked on the #1216 issue and PR #1227. Current Configuration docs are available in develop branch. Hope it helps! P.S.You need to understand that after Merging stage into one primary |
Beta Was this translation helpful? Give feedback.
Hi Netra!
I have finally got your question: How to configure for multiple ocelot files?
In the current February'24 milestone we worked on the #1216 issue and PR #1227.
So,
ConfigurationBuilderExtensions
were updated and appropriate merging logic.For example in this AddOcelot overloaded method the new optional parameters are introduced to have control over
reloadOnChange
argument for this final injection.Current Configuration docs are available in develop branch.
The updated Merging Configuration Files and Reload JSON Config On Change will be both delivered by PR #1227 as a part of Version 23.2 soon...
Hope it helps!
P.S.
You need to understand that after Merging stage into one primary
o…