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

WebJobs with DI in .NET Core that runs at set intervals

I already have a WebJob that I created in .NET Core 2.1 which also uses DI. This particular WebJob runs continuously and the new one I'm trying to create will run at set intervals. In the following code, I'm telling the WebJob to run continuously…
Sam
  • 26,817
  • 58
  • 206
  • 383
0
votes
1 answer

How to get FileTrigger to work with Azure file storage in Webjob

I have a webjob that I have set up to be triggered when a file is added to a directory: [FileTrigger(@"\\{name}", "*", WatcherChangeTypes.Created, autoDelete: true)] Stream file, I have it configured: var config = new…
0
votes
0 answers

FileTrigger binding not parsing

I have a file trigger pointing to a path to monitor files and I have set an appSetting value to use as a binding expressions: [FileTrigger(@"%KEY_NAME%", "*", WatcherChangeTypes.Created, autoDelete: true)] string message, I have an appSetting value…
0
votes
1 answer

HTTP Request/Response on Azure WebJob

I'm looking to create a WebJob that takes in a request and sends a response, much like an Azure Function with an HTTP trigger. I want to use a WebJob instead because I need to use wkhtmltopdf, which cannot run on a Consumption plan, and we are…
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
0
votes
1 answer

Running the Azure Webjobs Dashboard Locally

I'm wanting to run the Azure Webjobs dashboard locally on our own server to track a task using the webjob framework that isn't running in Azure (running as a service on a local machine). Previously there was a website project in the…
Technicolour
  • 677
  • 1
  • 7
  • 17
0
votes
0 answers

Difference between Azure Function and Web Job Or Azure function Vs Web Job

Azure Function : Azure function based on the web job SDK. Deployment through visual studio: not deploy as a package , its only create function within resourceGroup" Consumption plan** and App service plan both available Don't support remote…
0
votes
1 answer

How to avoid receiving messages multiple times from a ServcieBus Queue when using the WebJobs SDK

I have got a WebJob with the following ServiceBus handler using the WebJobs SDK: [Singleton("{MessageId}")] public static async Task HandleMessagesAsync([ServiceBusTrigger("%QueueName%")] BrokeredMessage message,…
D. Siemer
  • 158
  • 8
0
votes
1 answer

How should I organize my WebJob projects?

Is there any guidance on when I should create a new Azure WebJob project in Visual Studio? I have many operations, most of them are queue triggered so using the SDK makes sense. But since queue triggered functions are static methods that are not…
Gabriel Smoljar
  • 1,226
  • 2
  • 14
  • 32
0
votes
1 answer

Can an azure job with a HTTP Trigger return a http response body?

I have an azure function like this: [FunctionName("DoStuff")] [return: Queue("stuff-queue")] public static async Task Run([HttpTrigger(AuthorizationLevel.Function, "post", Route = null)]HttpRequestMessage req, TraceWriter log) { …
Justin Dearing
  • 14,270
  • 22
  • 88
  • 161
0
votes
2 answers

.NET Core 2.0 - Azure Function, Exception during runtime resolution of assembly

I'm running a .NET Standard 2.0 Azure function which references another .NET Standard 2.0 class library. I'm able to build the function which references the class library. But when I run a specific function which uses the class library I get an…
Jamie
  • 3,031
  • 5
  • 36
  • 59
0
votes
1 answer

Write log in text files using log4net in WebJobs it is not working on scheduling it only works at the time of deployment

public class Program { private static readonly log4net.ILog Log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); static void Main() { log4net.Config.XmlConfigurator.Configure(); …
RajeshVerma
  • 1,087
  • 9
  • 13
0
votes
1 answer

Azure WebJobs getting initialized randomly

We have webjobs consisting of several methods in a single Functions.cs file. They have servicebus triggers on topic/queues. Hence, keep listening to topic/queue for brokeredMessage. As soon as the message arrives, we have a processing logic that…
0
votes
1 answer

Can I use the azure webjobs sdk from a nodejs webapp?

I have a Azure web-app built using NodeJS and wanted to create a webjob triggered by a queue. Looks like this can be achieved using a QueueTrigger from azure-webjobs-sdk. I have found examples for Defining the webjob in C# Using a NodeJS based…
0
votes
1 answer

How to specify EventHub Consumer Group in a WebJob?

I am using WebJob's bindings to EventHub as described here: https://github.com/Azure/azure-webjobs-sdk/wiki/EventHub-support While the webjob is running, trying to run the Azure Service Bus Explorer on the same hub result in this…
Guillaume Morin
  • 3,910
  • 6
  • 25
  • 40
0
votes
1 answer

Max CPU% on Continuous WebJob

I have a continuous webjob running that reads messages from a queue, reads a file from Blob Storage, converts it, and then writes the converted file to a different blob container. All of the files are being converted properly. The Kudu site for my…