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

Get events when an Azure Durable Function changes status

I want to monitor a running instance of an Azure Durable Orchestrator Function for changes (like when it completes, fails etc) I know that I can poll the status API for changes, but i was wondering if there were any push-based functionality. I've…
3
votes
2 answers

I am having trouble in using User Secrets with Azure SDK WebJobs in a console application using Net Core 3.1

I'm trying to use user secrets because I want to save my key AzureWebJobsStorage in secrets.json for local development. So the problem is: I created my user secrets, installed the necessary packages, but my webjob is still trying to use the keys…
3
votes
1 answer

Webjob not using appsettings.env.json

.NET Core 2.2, WebJobs SDK 3.0 I have a webjob that I configure like this : var environmentName = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT") ?? "Development"; HostBuilder builder = new HostBuilder(); …
2d1b
  • 595
  • 1
  • 6
  • 24
3
votes
1 answer

Azure Webjob 3.0 - Unable to read Configuration variable from appsettings.json in Timer Function

I'm struggling to read any variables from my appsettings.json file in an Azure Webjob SDK 3.0 project. I am using: Microsoft.Azure.WebJobs.Core version="3.0.6" Microsoft.Azure.WebJobs.Extensions version="3.0.2" Microsoft.Extensions.Configuration…
Davy-F
  • 123
  • 1
  • 2
  • 12
3
votes
1 answer

Why is TimerTrigger not asking for storage account in basic WebJobs SDK v3 host app?

I'm playing with WebJobs SDK v3.0.5, using a very simple .NET Core 2.2 Console project as follows: TimerHost.csproj Exe
Sam
  • 6,167
  • 30
  • 39
3
votes
2 answers

In queue-triggered Azure Webjobs can an Azure Storage Queue message be modified after webjob function failure but before poisoning?

I've got queue-triggered functions in my Azure webjobs. Normal behavior of course is when the function fails MaxDequeueCount times the message is put into the appropriate poison queue. I would like to modify the message after the error but before…
Howiecamp
  • 2,981
  • 6
  • 38
  • 59
3
votes
3 answers

Azure Web Job sometimes cannot connect to storage account

We have an Azure Web Job that runs (with [Singleton] attribute) and it occasionally complains about not being able to connect to the storage account that it needs to aquire the lock or when we try to log to storage account. In the web job logs, it…
Stefan Zvonar
  • 3,959
  • 3
  • 24
  • 30
3
votes
0 answers

Azure Functions function.json Cosmos Trigger

We are using a Cosmos DB input trigger for Azure Functions and are unable to use environment variables in our function.json like other input triggers for sticky slot settings. Has anyone else had success using environment variables in function.json…
3
votes
2 answers

Passing Data from Azure Function Filter to Function

I have delegated Bearer Token Validation to Azure Function Invocation Filter. It validates the token and gets the claims. Now i'm trying to pass those claims or ClaimsPrincipal object into Function. public override Task OnExecutingAsync( …
Venkata Dorisala
  • 4,783
  • 7
  • 49
  • 90
3
votes
1 answer

Azure Functions host.json Queue batchSize less than newBatchThreshold

I have an Azure Function that calls a web service hosted on a VM. Because of this dependency it is important that no more than 8 instances of the Azure Function are ever running concurrently (the VM only has 8 cores and each call to the web service…
sam2929
  • 479
  • 7
  • 14
3
votes
3 answers

Azure function with .net core 2 class library

Since there is still no support for Webjobs in ASP.Net Core, i am going to use Azure functions instead. I have 2 class libraries that are build with on .net core 2. i can reference them to my Azure function project without any issue but when i try…
wandos
  • 1,581
  • 2
  • 20
  • 39
3
votes
1 answer

DocumentClient binding in parameter of Azure function

I am writing an http trigger Azure function in F# and I would like to bind a parameter of type DocumentClient to have more control on the queries that are done in Cosmos DB. This is what I have so far: Function.fs namespace Functions open…
3
votes
2 answers

What exact blob containers do I need to purge during a WebJob SDK log cleanup process?

** Problem Background ** As we know, Azure WebJob SDK, has no way of defining a retention policy for logs. That means the execution or dashboard Blob storage can grow and impose problems including slowing down or crash the kudu Dashboard – which…
Allan Xu
  • 7,998
  • 11
  • 51
  • 122
3
votes
2 answers

Debug Azure WebJob locally

I've been creating an Azure WebJob, it works aparently fine but I need to create a new function and I need test locally before upload to production site, I run on Debug the console program and this recognize all functions but I can't trigger any…
Cami Rodriguez
  • 1,057
  • 4
  • 14
  • 30
3
votes
1 answer

Azure WebJobs: No functions found in another assembly

I have a WebJob project - call it project A. I'd like to define some WebJob functions in another assembly - call it assembly B. WebJobs doesn't find any of the job functions that I've set up in assembly B. I can move the method from assembly B into…
Matt Cline
  • 286
  • 1
  • 6