1

I have Http Trigger function in .Net 5.0.

I added output binding to the function to a Queue by following this article:

https://learn.microsoft.com/en-us/azure/azure-functions/functions-add-output-binding-storage-queue-vs?tabs=in-process

I am having an error when I define the Output binding in the multi response class. Can't figure out the napespace for the [QueueOutput( .. enter image description here

It may be a small fix but haven't been able to figure it out. There are code snippets over the Web but no working example where I can see which nugget package I am missing. Any help will be appreciated.

2
  • Did you add the appropriate package to your project? Commented Nov 11, 2021 at 17:14
  • Did you ever have an issue where the function never responds back when the QueueOutput attribute is added? Commented Feb 10, 2024 at 0:32

1 Answer 1

5

The "out-of-process" or "isolated" model requires that you install the following nuget package:

Microsoft.Azure.Functions.Worker.Extensions.Storage

Then, you'll be able to use the QueueOutput Attribute

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks! Yes this worked.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.