I’m trying to deploy a weather application on an app services, it’s a chatbot that takes a place, call for azure maps openai, receive coordinates and pass them to the weather API of Microsoft.
The problem is: when I test locally, my coordinates contain the dot and everything works fine, but when I deploy it online, coordinates are received with comma, and when I try to get the meteo information, I get an exception because commas are not allowed as a decimal separator.
What can I do?
I have tried replaces, cultureinfo, but I cannot see any difference on the deployed machine.
I even tried to change the default cultureinfo, in local I can get to make the comma appear, but when I try to do the same but inverse on the deployed machine nothing happens.
I’m building the resource the same way I was doing 1 week ago when everything worked fine, so I think changes are been taken correctly.