I'm using an Azure WebJob, but now I get the following error message:
No functions found. Try making job classes public and methods public static.
My code is so simple:
static void Main()
{
var host = new JobHost();
host.RunAndBlock();
}
public static async Task BlobTrigger(
[BlobTrigger("test/{name}")] Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob input,
TextWriter log)
{
//code
}
Also, I create a zip file from my debug folder and upload it, and the job is configure to run continuously.
so sorry, the error is so simple, I added the access public to the class and it's fine (I'm using the final version of web jobs here), but I have some jobs with the webjobs prerelease and the public it's not necessary.
Thanks to all, regards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With