I am creating an Azure WebJob console application that resizes images uploaded to the blob repository. When executing any of the code examples on the Internet, I cannot reference and use the attributes of the input parameters BlobInput and BlobOutput. I am using Microsoft.Azure.Jobs 0.3.0-beta NuGet package (and Microsoft.Azure.Jobs.Core).
What namespaces are BlogInput and BlobOutput in? Is there another NuGet package I need?
Here is my code that does not compile because it cannot resolve BlobInput and BlobOutput:
using Microsoft.Azure.Jobs; using System.IO; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { JobHost host = new JobHost(); host.RunAndBlock(); } public static void SquishNewlyUploadedPNGs([BlobInput("input/{name}")] Stream input, [BlobOutput("output/{name}")] Stream output) {
source share