Hosting interactive code in the Cloud

Azure WebJobs SDK alpha 2 makes it very easy to host code in the cloud and run it interactively.  You can now invoke your SDK functions directly from the dashboard. Some great uses here: Provide admin diagnostic commands for your live site. Easily host code in azure for testing benchmarking code within a datacenter. Sharing…

0

How does [BlobInput] work?

The Azure WebJobs SDK supports running functions when a new blob is added.  IE, you can write code like this: public static void CopyWithStream( [BlobInput("container/in/{name}")] Stream input, [BlobOutput("container/out1/{name}")] Stream output ) { Debug.Assert(input.CanRead && !input.CanWrite); Debug.Assert(!output.CanRead && output.CanWrite); input.CopyTo(output); } See modelbinding to blobs for how we bind the blob to types like Stream.  In…

3