0
maharatha created
I tried resolving : <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate-templates/issues/43#issuecomment-401640552">https://github.com/aspnetboilerplate/as ... -401640552</a>
But now after deployment the connection string for the secondary database is being picked up from appsettings.json instead of appsettings.production.json
Do we have a solution to this problem ?
1 Answer(s)
-
0
<a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/6eedd8a06a0358b089beb669c20e86173646fa11/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Core/Configuration/AppConfigurations.cs#L17">https://github.com/aspnetzero/aspnet-ze ... ons.cs#L17</a>
The Get method of AppConfigurations needs to pass the environmentName. E.g. Production