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

Best Way to Pass Multiple Blob Inputs to a QueueTrigger Azure Function

The Problem Upon a trigger, generate 3 XML files and once complete, ftp them to a site. The Current Approach I have a HTTP Trigger Azure function that when run will construct 3 XML files and save these to an Azure Storage Blob container. Because of…
flyte
  • 1,242
  • 11
  • 18
8
votes
2 answers

Why am I getting exception Azure WebJobs SDK Dashboard connection string is missing or empty when it is not empty at all?

I have the most simple example of the webjobs SDK, that is supposed to trigger when a new file is put on an input blob container and copy it to another one. Below are the code and the App.config, with the account name and key redacted to XXX…
GR7
  • 5,083
  • 8
  • 48
  • 66
8
votes
1 answer

Continuous WebJobs and CancellationToken

I don't get the mechanics behind the cancellation token and the web jobs. I know I can use Microsoft.Azure.WebJobs.WebJobsShutdownWatcher().Token to get the token and react on token.IsCancellationRequested eg when the WebJobs are…
Herr häck
  • 215
  • 2
  • 12
8
votes
2 answers

Set nextVisibleTime in Azure Webjobs SDK

I'm using Azure Webjobs to process messages from a queue. I saw that the Webjobs SDK processes any failed message again after 10 minutes, and it if fails 5 times it moves it to the poison queue (1). Also I can see the nextVisibleTime of the message…
Anuar
  • 213
  • 2
  • 7
8
votes
2 answers

Azure WebJob "Could not create SSL/TLS secure channel"

I have an Azure WebJob which when run locally works fine, yet when run in Azure it throws an exception. The WebJob is making an external call over HTTPS which in Azure produces this exception: System.Net.WebException: The request was aborted: Could…
7
votes
2 answers

Azure Function Targeting .NET Standard Showing Warning

Just installed Visual Studio 15.5 Preview so that I can create an Azure Function targeting .NET Core. Without making any changes, I'm seeing a warning -- see below -- that reads: Package Microsoft.AspNet.WebApi.Client 5.2.2 was restored using…
Sam
  • 26,817
  • 58
  • 206
  • 383
7
votes
1 answer

What is the clean up mechanism for the blobs that WebJobs SDK creates in the AzureWebJobsDashboard connection?

Azure WebJob SDK uses the storage connection string defined in the AzureWebJobsStorage and AzureWebJobsDashboard app settings for its logging and dashboard. WebJob SDK creates the following blob container in…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
7
votes
1 answer

How to prevent Azure webjob processing same message multiple times concurrently

I have an Azure WebJob project, that I am running locally on my dev machine. It is listening to an Azure Service Bus message queue. Nothing going on like Topics, just the most basic message queue. It is receiving/processing the same message multiple…
AndrewP
  • 1,598
  • 13
  • 24
7
votes
2 answers

Intercept Azure Function Host Shutdown: Flush Application Insights TelemetryClient

I am playing a little bit with Azure Function: Mostly I try to migrate an existing webjob to Azure Functions and now it is time for me to integrate Application Insights in one of my function. So basically I only need one instance of the…
7
votes
2 answers

Azure Webjob - accessing local file system

I have a legacy exe which takes local machine file path, processes it and produces output file in again the local path. Can this be run on Azure Webjob? I was thinking to write a wrapper exe which downloads file from blob storage -> store it in…
user3863695
  • 123
  • 1
  • 6
6
votes
1 answer

Azure Webjobs SDK: HttpTrigger. What is the default URL on localhost?

I have this function public class Functions { public Functions() { } [FunctionName("httptriggertest")] public async Task HttpTriggerTest([HttpTrigger(AuthorizationLevel.Anonymous,…
mslot
  • 4,959
  • 9
  • 44
  • 76
6
votes
1 answer

What is the replacement for Microsoft.Azure.WebHosts.JobHostConfiguration

Trying to follow @matthoneycutt 's tutorial on Azure IoT Hub it seems like Microsoft.Azure.WebHosts.JobHostConfiguration vanished between 3.0.0-beta5 and 3.0.0-rc1 releases of Microsoft.Azure.WebHosts.Host in the Microsoft.Azure.WebHosts nuget…
noontz
  • 1,782
  • 20
  • 29
6
votes
1 answer

Basic of Azure WebJobs SDK

I would like to know about JobHostConfiguration on Azure WebJobs SDK. Where I can find the config ? is it on app.config ? How can JobHostConfiguration identified this is IsDevelopment or not ? I cannot find it on app.config What config that…
Adityo Setyonugroho
  • 877
  • 1
  • 11
  • 29
6
votes
2 answers

How can I use a BlobTrigger to bind to CloudBlockBlob in an Azure Function?

I have the following function in my project: [FunctionName("my-func")] public static async Task Run([BlobTrigger("data/{name}")] CloudBlockBlob blob, string name, TraceWriter log) { log.Info($"Started Processing: {name}"); await…
Mike
  • 5,437
  • 7
  • 45
  • 62
6
votes
1 answer

Dynamically enable/ disable a triggered function in Azure WebJob

We have an azure web job that has two methods in the Functions.cs file. Both jobs are triggered off different Topics in Azure Service Bus. As this uses reflection at run time to determine the functions that are to be run/triggered by messages…
Mark McGookin
  • 932
  • 1
  • 16
  • 39
1 2
3
31 32