Questions tagged [azure-webjobssdk]

Azure WebJobs SDK is a framework that simplifies the task of adding background processing to Windows Azure Web Sites.

The Azure WebJobs SDK is a framework that simplifies the task of writing background processing code that runs in Azure. The Azure WebJobs SDK includes a declarative binding and trigger system that works with Azure Storage Blobs, Queues and Tables as well as Service Bus. The binding system makes it incredibly easy to write code that reads or writes Azure Storage objects. The trigger system automatically invokes a function in your code whenever any new data is received in a queue or blob. See the azure-webjobs-sdk repo for more information.

453 questions
33
votes
10 answers

An error occurred while creating the WebJob schedule

I an trying to publish my website along with few WebJobs but after the website and the jobs are created on the Azure Website, I see an error on the VS.NET 2013 that says: Error 948 An error occurred while creating the WebJob schedule: No website…
Kiran
  • 2,754
  • 5
  • 26
  • 61
30
votes
4 answers

AzureWebJobsDashboard Configuration Error

I created a new Azure WebJob project in Visual Studio 2015 using .NET Framework 4.6. In the app.config, I set three connection strings: AzureWebJobsDashboard AzureWebJobsStorage MyDatabaseConnectionString The AzureWebJobsDashboard and…
Sam
  • 19,814
  • 35
  • 141
  • 272
27
votes
7 answers

Azure WebJobs ServiceBus returns Exception: found 2 DNS claims in authorization context

I'm trying to read a message from an Azure ServiceBus queue using an Azure WebJob but it's throwing and exception: Unhandled Exception: System.InvalidOperationException: Found 2 DNS claims in authorization context. I've set the correct connection…
27
votes
2 answers

Why do I need to configure connection strings for WebJobs in Azure Management Portal rather than in the App.config of my WebJob?

I created a scheduled Azure WebJob by right clicking on my WebApp project and adding a New Azure web project. I set the the AzureWebJobsDashboard and AzureWebJobsStorage connection strings in the App.config of the WebJob project. I left the default…
Tyler Pohl
  • 595
  • 1
  • 6
  • 10
23
votes
1 answer

Azure Functions: ICollector vs IAsyncCollector

What's the difference between ICollector and IAsyncCollector in Azure Functions when writing C# functions (also applies to WebJobs)? I understand from the samples that these are interfaces I can use to bind a function parameter to an output…
Chris Gillum
  • 13,041
  • 5
  • 41
  • 49
22
votes
2 answers

Update (re-deploy) existing azure webjob

I created an on-demand webjob. In the management portal there is no option to upload a new zip, to update it. I can delete the existing webjob and create a new one, but I would like to keep my logs. Is there any way to re-deploy it, overriding the…
Attila Szasz
  • 2,893
  • 3
  • 22
  • 38
21
votes
2 answers

Azure WebJobs - Can I use Async Methods?

I was wondering if the Azure WebJobs SDK can trigger async methods? Currently I have a method that looks like the following: class Program { static void Main(string[] args) { var host = new JobHost(); host.RunAndBlock(); …
ericb
  • 3,340
  • 1
  • 19
  • 21
18
votes
3 answers

Azure WebJobs Connection Strings configuration ( AzureWebJobsDashboard?? )

I'm trying to work with Azure Webjobs, I understand the way its works but I don't understand why I need to use two connection strings, one is for the queue for holding the messages but why there is another one called "AzureWebJobsDashboard" ? What…
Ron
  • 1,574
  • 5
  • 23
  • 48
17
votes
2 answers

Azure WebJobs SDK - in what scenarios is creation of a JobHost object required?

Most of the samples associated with the Azure WebJobs SDK have startup code that looks like this: static void Main() { JobHost h = new JobHost(); h.RunAndBlock(); } However you can also kick off a WebJob without creating a JobHost object…
Emilio
  • 1,819
  • 3
  • 17
  • 24
14
votes
8 answers

No job functions found. Try making your job classes and methods public

First off, I have looked at the other SO posts with the same error message and none seem to resolve my issue. I have tried many permutations and options. My function builds fine but will not run in the CLI, I get the following cryptic error. The…
14
votes
3 answers

WebJob processing multiple messages at a time from queue

WebJob is processing multiple messages from queue which I don't want it. My queue has dependent messages which I want to process one after other sequentially. I have tried with configuring "BatchSize" to 1 but no luck. Still it is processing more…
14
votes
1 answer

with azure webjobs how do i pass parameter for a scheduled task

I am creating a dot net console app that will run as an Azure webjob. It is scheduled to run once an hour. I am wondering how I pass a parameter to the job when it is invoked?
yamspog
  • 17,114
  • 16
  • 59
  • 94
13
votes
2 answers

continuous WebJob stops automatically

I have an Webjob associated with the Website that is configured to run continuously and all it does is watches a queue for a message and process it. My website is in a shared mode and hardly has any traffic at the moment so I have set up dummy…
Kiran
  • 2,754
  • 5
  • 26
  • 61
13
votes
1 answer

Azure Webjobs: One Job with several Functions, or several Jobs with 1 function each?

How do I decide between creating several WebJobs with 1 function each and bundling several functions into one or only a few WebJobs? Thanks
Nestor
  • 12,840
  • 10
  • 73
  • 112
13
votes
1 answer

How do I have an Async function that writes out to a service bus queue?

Using the Azure WebJobs SDK, I want to create an async function that will receive ServiceBus queue input and write to a ServiceBus queue output. Async methods cannot have out parameters which, for examples on BlobStorage, appears to be worked…
Micah Zoltu
  • 5,388
  • 2
  • 38
  • 63
1
2 3
30 31