Hello,
I used the following quickstart tutorial to implement a first Azure Function + SignalR Service.
(https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-azure-functions-python)
My preferred language is python. After the tutorial i tried to push the code to cloud.
Locally the code works (=> "AzureSignalRConnectionString" in local.settings.json),
but in the cloud each request fails. With the error:
"The SignalR Service connection string must be set either via an 'AzureSignalRConnectionString' app setting, via an 'AzureSignalRConnectionString' environment variable, or directly in code via SignalROptions.ConnectionString or SignalRAttribute.ConnectionStringSetting."
I cleary understand, that i have to add the AzureSignalRConnectionString from the local.settings.json. But i have no idea where!?!
In my Azure Function App i added a new Application setting. I named it "AzureSignalRConnection" an pasted the Connection String from the local.settings.json file. But it still doesn´t work.
Is there something else to add than just this application setting (For example add a reference to this new application setting)? Or where is the correct place to add the Connection-String?
Or principal... what is the correct way to go?
With best regards Patrick