0
ramkumar.subramanian created
I am using abp.io 8.2, trying to achieve single instance with multiple DB My requirement is, based on the request header "__tenent" , My setting file should change like "AppSettings.ClientA.json" "AppSettings.ClientB.json"
My Appsettings.json should differ for each tenent..Please suggest.
if ClientA--> request api call with header as tenenid of client A ,then system should look for "AppSettings.ClientA.json" if ClientB--> request api call with header as tenenid of client B, then system should look for "AppSettings.ClientB.json"
Thanks.
1 Answer(s)
-
0
hi
Do you want to use
IConfiguration
to read the value fromAppSettings.ClientA/ClientB.json
?If current tenant is A then
IConfiguration
get value of tenantA.Thanks.