An Azure service that provides an event-driven serverless compute platform.
Azure function trigger not able to debug local machine on VS 2022 while uploading blob on storage
Abdul Qadir
0
Reputation points
Hi, I created one sample application through visual studio 2022 and provided connection string from storage for AzureWebJobsStorage and MyDemo but while uploading file on blob location is not hitting the debugger . It is trigger based so it should report itself but it is not. Please suggest what could be the issue?
[FunctionName("Function1")]
public void Run([BlobTrigger("samples-workitems/{name}", Connection = "MyDemo")]Stream myBlob, string name, ILogger log)
{
log.LogInformation($"C# Blob trigger function Processed blob\n Name:{name} \n Size: {myBlob.Length} Bytes");
}
}
Azure Functions
Azure Functions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
Sign in to answer