Search code examples
.netazureasp.net-coreazure-webjobs

Azure WebJobs in local development environment UseDevelopmentStorage=true


 "AzureWebJobsDashboard": "UseDevelopmentStorage=true",
 "AzureWebJobsStorage": "UseDevelopmentStorage=true"

Getting error

The listener for function 'WebJobsMethods.UpdateFreeTrialStatus' was unable to start. Microsoft.Azure.WebJobs.Host.Listeners.FunctionListenerException: The listener for function 'WebJobsMethods.UpdateFreeTrialStatus' was unable to start. ---> Microsoft.WindowsAzure.Storage.StorageException: An error occurred while sending the request. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.Http.WinHttpException: A connection with the server could not be established


Solution

  • You have to start the Azure Storage Emulator to use this connection string.

    https://learn.microsoft.com/en-us/azure/storage/common/storage-use-emulator