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.

480 questions
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
  • 13,706
  • 11
  • 78
  • 119
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
  • 6,764
  • 5
  • 44
  • 72
12
votes
2 answers

Azure WebJob ServiceBusTrigger for Sessions

I know it's possible to recieve messages from a service bus queue like: public static void ProcessQueueMessage([ServiceBusTrigger("inputqueue")] string message, TextWriter logger) But is there also a way to to receive a session via a trigger…
12
votes
2 answers

How can I keep my Azure WebJob running without "Always On"

I have a continous webjob associated with a website and I am running that website on the Shared mode. I don't want to go to Always On option as there is no real need for my application. I only want to process the message when the calls are made to…
Kiran
  • 2,997
  • 6
  • 31
  • 62
10
votes
4 answers

Azure WebJobs (3.x) Continuous job not showing Functions in Dashboard

We have an Azure WebJob (3.x) running under an API App in Azure, all Core 2.1. It publishes fine, and runs, but doesn't show any Functions or list the Function Invocations on the dashboard. Which is odd, because the console output for the job does…
Matt Styles
  • 581
  • 1
  • 4
  • 14
10
votes
6 answers

Azure webjob not appearing to respect MaxDequeueCount property

I've got an Azure webjob with several queue-triggered functions. The SDK documentation at https://learn.microsoft.com/en-us/azure/app-service-web/websites-dotnet-webjobs-sdk-storage-queues-how-to#config defines the MaxDequeueCount property as: The…
Howiecamp
  • 2,981
  • 6
  • 38
  • 59
10
votes
1 answer

How to Scale Azure Webjobs

I know that webjob scales with webapp i.e. if my webapp is running on 5 instances then webjobs will run on 5 instances as well. I just want to know if there is a way of having multiple instances of the webjob within each instance of the…
Shahriar Hossain
  • 935
  • 9
  • 20
10
votes
2 answers

How do I test the Azure Webjobs SDK projects locally?

I want to be able to test an Azure WebJobs SDK project locally, before I actually publish it to Azure. If I make a brand new Azure Web Jobs Project, I get some code that looks like this: Program.cs: // To learn more about Microsoft Azure WebJobs…
10
votes
3 answers

Scheduled WebJob

I'm creating a new Azure WebJob project -- which appears to be a polished version of a console app that can run as a web job. I want this job to run based on a schedule but in the Main() method -- see below -- Microsoft gives you the…
Sam
  • 26,817
  • 58
  • 206
  • 383
10
votes
1 answer

Stuck when publishing Web App to Azure with WebJob

I just used the WebJob SDK to add a WebJob to my web app. Now, when publishing the web app, VS is stuck when publishing (does not hang, but does not progress either). I know it's caused by the WebJob because when I remove the webjobs-list.json, it…
Jeff
  • 12,085
  • 12
  • 82
  • 152
9
votes
1 answer

Azure Webjob TextWriter logger being disposed in the middle of my method

I'm using a Webjob with the Windows Azure Storage SDK. When a new item shows up in a Queue, a method in my class is invoked. According to the SDK docs, if I take a TextWriter as a parameter to my method, the SDK will provide me with a TextWriter…
9
votes
3 answers

Azure WebJobs and ServiceBusTrigger

How does the poison-message handling work for Azure WebJobs SDK's ServiceBusTrigger ? I am looking to push the service bus queue messages that have been dequeued more than 'x' times to a different ServiceBus (or) Storage queue The online…
infinity
  • 1,900
  • 4
  • 29
  • 48
9
votes
1 answer

Communication between a WebJob and SignalR Hub

I have the following scenario: I have an azure webjob (used to send mails) and I need to check the progress of the webjob in my web application. I am using SignalR to communicate with clients from my server. When I want to send an email, I push a…
8
votes
4 answers

Configurable Timer Triggers - Azure Web Jobs

I'm building a job to trigger at some regular interval (say 1 minute). I've successfully used triggered web jobs with time-span hard coded in the functions. public void foo([TimerTrigger("00:01:00")] TimerInfo timer) Now if I ever want to change…
Manikanta Dornala
  • 1,081
  • 1
  • 11
  • 22
8
votes
2 answers

Run Many Instances Of Same Azure WebJob Concurrently From Single Web App

I have created a simple azure web job, that goes off grabs some data from a website that's passed in, parses it and adds it to a database. It's just a simple console app (.exe file) that takes in an argument. And it's uploaded to a web app on…
YodasMyDad
  • 9,248
  • 24
  • 76
  • 121
1
2
3
31 32