Cannot output to storage for a BlobTrigger function using dot net 7

Alan Rose 0 Reputation points
2023-03-09T08:03:35.05+00:00

I am having an issue creating a Blobtrigger function that takes the input byte array and write it to another azure container using dot net 7 (isolated worker process). Some packages suggested by examples will not import. Blob attribute not reckonised by compiler etc. any thoughts

example

public static void Run([BlobTrigger("mycontainer/{name}", Connection = "AzureWebJobsStorage")] byte[] inputBlob,
                       [Blob("mycontainer-output/{name}", FileAccess.Write, Connection = "AzureWebJobsStorage")] Stream outputBlob)
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,982 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,850 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.