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
5
votes
1 answer

Azure WebJob concurrency when using ServiceBusTrigger

I have been using Azure Storage Queues to feed a WebJob, using the QueueTrigger attribute. I configure my QueueTrigger to dequeue a number of items for concurrent processing, like this: public static void Main() { JobHostConfiguration config =…
5
votes
2 answers

Azure Webjobs - Use INameResolver with TimerTrigger Function

I've tried to configure a job with a simple function with a TimerTrigger. public class Processor { /// /// Initializes a new instance of the class. /// public Processor() { } …
Thomas
  • 24,234
  • 6
  • 81
  • 125
5
votes
2 answers

Azure WebJob that runs every couple of minutes

I am trying to setup a scheduled WebJob in Azure. I am able to deploy my webjob. I can run the webjob explicitly via the portal. However, I cannot seem to get it to run on a recurring schedule. I want the job to run every 5 minutes. I realize this…
Steven S.
  • 61
  • 1
  • 4
5
votes
2 answers

Azure WebJob Best Approach

This is my first time that I've done a WebJob Type of application. I have created a webjob project and in the solution it comes with Program.cs and Function.cs. I have already removed Function.cs because in this project there is no queue I will be…
Nadeem Tabbaa
  • 119
  • 3
  • 9
5
votes
1 answer

Using Singleton attribute with ServiceBusTrigger in WebJobs SDK

I am using the Microsoft.Azure.WebJobs and Microsoft.Azure.WebJobs.ServiceBus packages for capturing ServiceBus topic events. Functions Code is as below - public class Functions { [Singleton] public static void Event4Processor( …
5
votes
1 answer

What happens to running processes on a continuous Azure WebJob when website is redeployed?

I've read about graceful shutdowns here using the WEBJOBS_SHUTDOWN_FILE and here using Cancellation Tokens, so I understand the premise of graceful shutdowns, however I'm not sure how they will affect WebJobs that are in the middle of processing a…
EJay
  • 1,079
  • 2
  • 12
  • 23
5
votes
3 answers

Azure WebJob QueueTrigger message is not deleted from queue

I have WebJob running continuously using the 1.0.0 WebJobs SDK. Here is configuration code. public static void Main() { var config = new JobHostConfiguration(); config.Queues.MaxDequeueCount = 1; config.Queues.BatchSize = 1; var…
5
votes
2 answers

WebJobs SDK - Omitting the AzureJobsDashboard connection string

Has anything changed recently in the Azure WebJobs SDK around the omission of the AzureJobsDashboard connection string? Up until recently if this connection string was left out the WebJobs dashboard would not show / store any invocation logs etc.…
pmgrove
  • 63
  • 2
  • 4
4
votes
0 answers

dynamically create new instance of TimeTrigger AzureFunction/WebJob at runtime

here's my scenario. I have a legacy time-trigger based Job processing system. I would like to migrate them to AzureFunction/ WebJob. There is a finite set of C# methods. These C# methods would be configured dynamically/during runtime in another…
AAATechGuy
  • 385
  • 2
  • 9
4
votes
3 answers

Start and Stop of continuous Azure webJob with Azure WebApp Rest API results in 404 Error

I deployed a continuous WebJobs to my existing Azure WebApp using DevOps. It is up and running. When I tried to stop the webJob in the Azure web frontend it did not work. So I used the stop Command of the Azure WebApp API. POST…
4
votes
1 answer

Getting Azure.WebJobs.Host.Listeners.FunctionListenerException for eventhub triggers

I am using azure webjobs v3 for eventhub trigger. Till sometime everything was working fine. Suddenly I am getting below error. Can someone help me in resolving this? public async Task Trigger00([EventHubTrigger("%eventhub-00%", Connection =…
4
votes
2 answers

azure webjob: Read appSettings.json and inject configuration to TimerTrigger

I have trouble reading configuration values from appSettings.json file in webjob. The webjob uses the following nuget packages: I have two settings file in my console application (webjob): appsettings.development.json appsettings.production.json In…
4
votes
2 answers

Azure functions only max concurrent at the time

I have a Azure Function that handles SharePoint operations. Due to throttling I only want 10 concurrent functions running at the time and always 10 functions concurrently. I was considering to use functions with an Azure Service Bus Queue. Is there…
4
votes
4 answers

Azure WebJobs SDK 3, trying to add a BlobTrigger and related connection string

The old way of doing things looked as so: var jobConfig = new JobHostConfiguration(cfg.DocumentDatabase.BlobStorageServer) { NameResolver = new Support.BlobNameResolver(_env) }; …
Andy
  • 12,859
  • 5
  • 41
  • 56
4
votes
1 answer

Debugging an Azure Web App Web Job

I have an Azure WebJob that I created from the WebJobSDK, Service Bus monitor. Basically the WebJob continually monitors a Service Bus, processes the message, and continues looking for new messages. When I debug (F5) the application locally, the…
DanielG
  • 1,669
  • 1
  • 12
  • 26