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

Azure WebJobs in .NET Core Using VS 2017 15.3

Just installed the preview version of Visual Studio 2017 15.3 but I still don't see a way to create WebJobs in .NET Core. Is this available -- even as a preview or beta -- or not? PS: This is NOT a duplicate question as suggested by moderators. I'm…
Sam
  • 26,817
  • 58
  • 206
  • 383
6
votes
2 answers

Microsoft.Web.WebJobs.Publish producing duplicate assemblies in deploy package

I have a large number of Azure WebJobs that all deploy to a single Azure App Service, along with a Website on the same Azure App Service. Each WebJob all use the WebJobs SDK and the Microsoft.Web.WebJobs.Publish nuget package (we are up-to-date with…
bojingo
  • 572
  • 1
  • 6
  • 12
6
votes
2 answers

Azure functions - How to read form data

How to read form data in Azure functions? I tried to do it in several ways, but always I get an error, eg.: using System.Net; public static async Task Run(HttpRequestMessage req, TraceWriter log) { dynamic data = await…
Pawel Maga
  • 5,428
  • 3
  • 38
  • 62
6
votes
2 answers

How to maximize WebJob CPU Usage

I have an azure storage queue that has over 100,000 queue items on it. The average processing time is about 1 minute to complete each item (as reported in the WebJob dashboard). I have set the max batch size for my webJob to be 32 like…
6
votes
2 answers

Azure Triggered Webjob - Detecting when webjob stops

I am developing a triggered webjob that use TimerTrigger. Before the webjob stops, I need to dispose some objects but I don't know how to trigger the "webjob stop". Having a NoAutomaticTrigger function, I know that I can use the…
Thomas
  • 24,234
  • 6
  • 81
  • 125
6
votes
3 answers

Azure WebJobs TimerTrigger not triggering

I'm trying to run WebJob as a console app, It works When I add RunOnStartup = true, but I need that it works just with TimerTrigger. this is my code public static void Main() { JobHostConfiguration config = new JobHostConfiguration(); …
srd98
  • 623
  • 1
  • 6
  • 12
6
votes
4 answers

Why is Azure WebJob ServiceBus deserializing XML by default?

I have a simple Azure WebJobs ServiceBusTrigger that looks like public static async void ProcessQueueMessage([ServiceBusTrigger("myqueuename")] String json, TextWriter log) { ... } Unfortunately, it is failing to deserialize JSON as XML (not…
Micah Zoltu
  • 6,764
  • 5
  • 44
  • 72
6
votes
1 answer

Azure WebJob SDK Service Bus Documentation?

I am trying to use the Azure WebJob SDK but am unable to find any documentation on it so I can know what to expect without having to poke at it with tests. I did find this:…
Micah Zoltu
  • 6,764
  • 5
  • 44
  • 72
6
votes
5 answers

Azure Webjob HTTP 409 Conflict errors

I had a C# WebJob that was working nicely with the alpha WebJob api. I just updated it to the beta release, and after fixing connection strings and namespaces I get a HTTP 409 (Conflict) error when the JobHost tries to connect. Here is the call…
tillerstarr
  • 2,616
  • 1
  • 21
  • 35
6
votes
1 answer

WebJobs Not Retrying Failed Queue Message

I have the following logic in a WebJob using the new 0.3.0-beta WebJobs SDK. When my code fails processing the message, the Azure dashboard shows an Aggregate Exception (which makes sense since this is async). HOWEVER, it does not retry processing…
ericb
  • 3,400
  • 1
  • 21
  • 21
5
votes
1 answer

Visual Studio 2019 - Adding WebJob project in WebApp

In my solution i have an aspnet core 2.2 WebApp, and i want to add an existent project like webJob but there isn't the option: Add WebJobs from existent project Why? With the same procedure i add WebJobs on my other .Net application, and this…
C1X
  • 665
  • 4
  • 14
  • 25
5
votes
2 answers

Scheduled .NET WebJob V3 example

I've upgraded my .NET (not .NET Core) WebJob from V2 (which was working fine) to V3. I'm having trouble getting it to run. I just want the webjob to call a function I've written according to this CRON schedule: "0 0 8,10,12,14,16,18,20 * * *". The…
nmit026
  • 3,024
  • 2
  • 27
  • 53
5
votes
4 answers

'IWebJobsBuilder' does not contain a definition for 'AddAzureStorageCoreServices' 'AddTimers'

Missing references upgrading to Webjob V3 Installed the references 'IWebJobsBuilder' does not contain a definition for 'AddTimers' and no accessible extension method 'AddTimers' accepting a first argument of type 'IWebJobsBuilder' could be found…
Fernando Magno
  • 375
  • 6
  • 15
5
votes
2 answers

Filters for Azure Functions

Is it possible to have Filters (Auth or Exception) for Azure functions? I just want to not duplicate code to validate bearer token in every function. I see that there is a filter concept in webjobs sdk.…
Venkata Dorisala
  • 4,783
  • 7
  • 49
  • 90
5
votes
2 answers

Disable a Triggered Azure WebJob

I've got a webhook-triggered Azure WebJob. For... reasons, I do not have control over the system that is sending the webhooks. One webhook per day is sent. It is the only WebJob hosted by the WebApp. During testing I wanted to disable this WebJob,…