abp icon indicating copy to clipboard operation
abp copied to clipboard

Consider replacing dots with dashes in setting names

Open ebicoglu opened this issue 6 years ago • 4 comments

As reported here https://support.abp.io/QA/Questions/557/Please-stop-using-periods--in-setting-names Azure doesn't accept dots in setting names.

ebicoglu avatar Nov 19 '20 09:11 ebicoglu

I think he can resolve the problem by replace the 'ConfigurationSettingValueProvider'.

I will reply to him.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.Settings/Volo/Abp/Settings/ConfigurationSettingValueProvider.cs

maliming avatar Nov 19 '20 12:11 maliming

https://support.abp.io/QA/Questions/557/Please-stop-using-periods--in-setting-names#answer-e14c5e7d-2a90-6568-32ba-39f8f572b110

maliming avatar Nov 20 '20 01:11 maliming

Any chance we could reconsider implementing the suggested solution by default? Environment variables that include a dot are invalid environment variables in bash.

For now I can use the solution you suggest in the support thread but it seems like this would be a fairly common problem for people hosting in a linux environment and would be worth supporting officially.

If not maybe we could add a link to this page to the documentation for settings.

millsaj avatar Jan 07 '21 21:01 millsaj

hi @millsaj We do not plan to change it.

maliming avatar Jan 08 '21 03:01 maliming