728x90
TimeTrigger를 개발하고 있는데 로컬에서 아무 설정 없이 디버깅하면 아래 Exception이 발생한다.
The listener for function 'Functions.GenerateTweet' was unable to start. Microsoft.Azure.WebJobs.Extensions.Timers.Storage: Could not create BlobContainerClient for ScheduleMonitor.
local.settings.json 파일에서 아래와 같이 설정하면 정상 동작이 가능하다.
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
Azure Functions은 Azure Storage와 상호 작용하는데
로컬에서 Azurite와 같은 스토리지 에뮬레이터를 사용하기 위한 설정이다.
728x90
'Programming > .NET' 카테고리의 다른 글
[Azure] GitHub actions 배포 시 ValidateAzureResource Exception (0) | 2024.01.05 |
---|---|
[Azure Functions] Timer Trigger Time Zone 설정하기 (0) | 2024.01.04 |
[Azure Functions] .NET 8 프로젝트 생성하기 (0) | 2023.12.31 |
[.NET] ML.NET 고양이 vs 개 분류(Image Classification) (0) | 2023.02.05 |
[.NET] BenchmarkDotNet로 .NET 6 vs .NET 4.7.2 성능 비교 (0) | 2023.01.15 |
댓글