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
0
votes
0 answers

ServiceBusTrigger not retrying abandonned messages?

I have a problem with a webjob destroying messages from service bus topic if an exception occurs. I want the message to stay on the topic (for the subscription) until it processes successfully. Even if that means messages are behind it are blocked…
Stefan Zvonar
  • 3,959
  • 3
  • 24
  • 30
0
votes
1 answer

Get Message metadeta for queue trigger azure webjob

We have below code to QueueTrigger and we want to have message metadata(ie: dequequecount, lastretrival) at ProcessQueueMessage. Is there way to achive it? public static void ProcessQueueMessage([QueueTrigger(AppConstants.AzureBlobQueue)] string…
oypatel
  • 73
  • 1
  • 11
0
votes
2 answers

Override .NET connection string resolution

Is there a way to override resolution of values from connectionStrings or appSettings sections at run-time? Can't find any appropriate methods in ConfigurationManager class to do that. The issue I've got is a Nuget package which relies on…
UserControl
  • 14,766
  • 20
  • 100
  • 187
0
votes
1 answer

Error After Updating Azure Web Jobs SDK update

Hi I have updated the nuget packages for Azure Web Jobs SDK to version 2.0 and I am getting the following error. Microsoft.Azure.WebJobs.Host.FunctionInvocationException: Exception while executing function: Functions.SparkPostCold_Queue --->…
imrn
  • 297
  • 2
  • 12
0
votes
1 answer

No parameterless constructor error in WebJobs with .NET Core and Ninject

I'm trying to do a bit of a balancing act here. Currently Azure WebJobs don't support .NET Core. With some help, I created a .NET Core Console App and made it work as a WebJob. On top of that I'm trying to implement Ninject for DI. Code compiles…
Sam
  • 26,817
  • 58
  • 206
  • 383
0
votes
1 answer

How can you get an Azure Function to run in an App Service, rather than Consumption mode?, i.e. what are the missing WebJobs attributes?

How can you get an Azure Function to run in an App Service, rather than Consumption mode?, i.e. what are the missing WebJobs attributes? I have an existing Function App which works fine, but want to run it in an App Service, rather than Consumption…
SteveC
  • 15,808
  • 23
  • 102
  • 173
0
votes
1 answer

TriggeredFunctionData null when entering Webjob SDK function

I am trying to use a rabbitMQ extension to webjob SDK (https://github.com/Sarmaad/WebJobs.Extensions.RabbitMQ) to have it trigger when something is put on the queue. The triggering works fine, but the content is never passed into my function. I…
jimmy
  • 1,981
  • 3
  • 19
  • 28
0
votes
2 answers

How to perform unit test on the append function of Azure Data Lake written in .Net Framework?

I have created Azure webjobs that contains methods for file creation and Appending data to that file on Datalake Store. I am done with all its development part publishing webjobs etc. Now i am going to write unit tests to test whether the data i am…
0
votes
1 answer

How to write a file to an Azure website folder from a webjob or worker role

I need to write an XML file to an Azure website folder under site root, with data pulled from the website's Azure SQL DB. This will be done on a recurring basis. I have written a worker role which pulls the data and writes the file, however, it…
0
votes
2 answers

Error migrating DocumentDB binding to Azure WebJobs SDK Extensions

I am trying to use the WebJobs SDK extensions (and the Azure Functions tools for VS) to migrate my Azure functions to pre-compiled binaries, but I'm having problems with the DocumentDB bindings. I'm trying to create an input binding to an existing…
Michael Edenfield
  • 28,070
  • 4
  • 86
  • 117
0
votes
1 answer

How to handle azure web job pending restart

I am currently using azure web job using queue trigger , so whenever there is message in queue , I invoke a function which will do time consuming task ( pushing data to document DB ) of 15 min and am able to do as well, now am getting socket…
Rajesh
  • 41
  • 2
  • 6
0
votes
2 answers

Running two Web jobs simultaneously, So if one fails other will process the files

I want to process CSV file when it is uploaded in blob storage. For this requirement I am writing Web Job with blob trigger. To make sure continuous CSV processing, I am writing one more web job with blob trigger. So if one web job fails another…
Ashutosh B Bodake
  • 1,304
  • 1
  • 19
  • 31
0
votes
1 answer

Azure Media Services Error 400

I am currently building an app and am trying to write a webjob to take an mp4file i have uploaded to blob storage and create an asset which i then can encode and prepare to stream using azure media services. public class Functions { …
0
votes
1 answer

How can I see the number of items in a batch of message in Azure queue triggered webjobs?

In my Azure queue triggered webjobs I either don't set BatchSize at all (defaults to 16) or I set it: JobHostConfiguration.Queues.BatchSize = ...; Anecdotally (hitting F5 frequently) it seems like no matter what the setting is the number of items in…
0
votes
2 answers

Azure function precompiled timerTrigger error

I deploy an Azure Function precompiled with a timerTrigger. I have the following exception when I activate all logs 2017-04-13T12:53:03.836 …
Nico
  • 153
  • 9