FAQ Database Discussion Community


Configure QueueTrigger per queue using Azure queue storage

azure,azure-webjobs,windows-azure-queues
I have two differents scenarios to process 2 different types of queues using Azure queue storage. I want to set a queue to run one after another, and the other to run simultaneously. I've been looking at the documentation and I can apply the configuration to the host affecting the...

Update (re-deploy) existing azure webjob

azure-webjobs,azure-webjobssdk
I created an on-demand webjob. In the management portal there is no option to upload a new zip, to update it. I can delete the existing webjob and create a new one, but I would like to keep my logs. Is there any way to re-deploy it, overriding the old...

Scheduled WebJob deployed via Visual Studio 2013 Update 4 results in On Demand Job

azure,visual-studio-2013,azure-web-sites,azure-webjobs
I'm using VS 2013 Update 4. I have a web job like below. After I did Publish as Azure WebJobs from Visual Studio, the job became "On Demand". Is there way to get around this today? Thank you. P.S. Is there way to modify the WebJob inside the Azure Portal?...

How can I add a .props file to a C# project?

azure,visual-studio-2013,azure-webjobs
I am trying to set up continuous delivery of Azure Web Jobs, and came across this post from the Azure blog. One of the steps there is to add a .props file to the web job application's properties. I am having difficulty adding a .props file. My web searches indicate...

How to prevent Azure WebJob from flooding Application Logs?

azure,azure-webjobs
I have a WebJob deployed alongside the web application with Application Logging enabled (log level is set to Verbose). Every minute or so I get few big chunks of log entries similar to this one: ~1MY-SITE GET /azurejobs/api/functions/invocations/50b8a637-8717-4535-ab71-ee7d9af2a913/children limit=1&X-ARR-LOG-ID=d37aa32f-8fa7-4bae-aace-08d4a30ead04 443 - 37.122.166.46 Mozilla/5.0+(Windows+NT+6.3;+WOW64;+Trident/7.0;+Touch;+rv:11.0)+like+Gecko...

Azure webjob how to access hosted site folder

c#,asp.net,azure-webjobs
We have hosted our ASP.Net website in Azure. I have written a continuous web job to process some of my files in background on queue trigger. Sometimes the process involves getting an image from an url and save a copy in predefined folder of our site. We already have a...

WebJob ServiceBus Topic permissions

azure,azureservicebus,azure-webjobs,azure-webjobssdk
I'm involved in a multi-tier project, one part of which is consuming a stream of "events" from a third-party system. The vendor is publishing these via an Azure Service Bus Topic - they provide, control & manage the Bus. We are simply provided with the URI, TopicName and Subscription details....

Naming Blob Dynamically for WebJob on a Schedule

azure-webjobs,azure-webjobssdk
I have a web job which is creating a blob based on the return value of a WebClient call. This is working fine. But as you can see from the Blob attribute (see code below), the name of the file is static. So, it is getting overwritten every time in...

Dependency injection using Azure WebJobs SDK?

c#,azure,dependency-injection,azure-webjobs
The problem is that the Azure WebJobs SDK supports only public static methods as job entry-points which means there is no way of implementing constructor/property injection. I am unable to find anything about this topic in official WebJobs SDK documentation/resources. The only solution that I came across is based on...

View local Azure Webjobs SDK dashboard for debugging WebJobs SDK console process

azure,azure-webjobs,azure-webjobssdk
I have a VS 2013 RC 4 Azure Webjobs project that I'm currently debugging. The project is a console project and has a function that uses a QueueTrigger attribute. I get the following errors in the console output when I run the job and insert a message to the template-mail-requests...

Azure WebJob or Scheduler or another technology?

azure,azure-webjobs
I am writing an Azure hosted MVC website for a gym booking system. I need to be able to maintain membership expiry, suspensions as well as gym class attendence (i.e. logging to the database if a session has been missed). Each of these tasks requires a "c# service function" to...

How to set visibility (time) option for azure queue using azure sdk (using azure webjobs)?

azure-webjobs,azure-webjobssdk,azure-storage-queues
My function in my azure webjobs (console app) is doing its job correct and grabbing messages from my queue, but I need a way to control the "time visible" option or the ability to delete the message from the queue once it gets picked up. Function: public class Functions {...

Trying to publish an azure webjob from visual studio 2013 update 4

c#,azure,visual-studio-2013,msbuild,azure-webjobs
I've been trying to get a very simple Azure webjob deployed from visual studio 2013. I've written the job it just outputs some stuff to the console and now I'm trying to deploy it. I clicked "Deploy As Azure Webjob" and got an error saying that the deploy target couldn't...

Alternate to run window service in Azure cloud

azure,windows-services,cloud,azure-webjobs
We currently have a window service which send some notification emails to users after doing some processing on database(SQL database). Runs once in day. We want to move this on azure cloud. One alternate is to put it on Azure VM as is. but I am finding some other best...

Azure Continuous WebJob “Graceful” Shutdown is less than 5 seconds

azure,azure-webjobs
I have found this blog about WebJobs "Graceful" shutdown - http://blog.amitapple.com/post/2014/05/webjobs-graceful-shutdown/#.VNZbLPmsXZ0 It says that Graceful Shutdown for Continuous WebJobs will by default be 5 seconds. I want to send an email when my WebJob is shutting down so have tried the method detailed in the blog however this email does...

Is there global variable in azure webjob ? How to persist data from webjob execution?

asp.net-mvc,asp.net-mvc-4,azure,azure-webjobs
I'm using Azure webjob to populate list of data , which I need to use in my MVC Web application. But After executing azure webjob i'm not getting data inside mvc web application in that old object which I used in azure web job. Is there any global variable concept...

Azure WebJobs and ServiceBusTrigger

azure,azure-webjobs,azure-webjobssdk
How does the poison-message handling work for Azure WebJobs SDK's ServiceBusTrigger ? I am looking to push the service bus queue messages that have been dequeued more than 'x' times to a different ServiceBus (or) Storage queue The online documentation here and here and SDK Samples from here does not...

Send Queue message from BlobTrigger

azure,azure-webjobs
public static void RecieveMessage([QueueTrigger("hello")] string message) { Debug.WriteLine(message); } public static void CopyBlob([BlobTrigger("input/{name}")] TextReader input, [Blob("output/{name}")] out string output) { output = input.ReadToEnd(); } how do i trigger the function RevieveMessage from inside CobyBlob? (By sending a message to the Queue)...

Azure Storage Parse Blob into Table

azure,windows-azure-storage,azure-storage-blobs,azure-webjobs,azure-table-storage
I'm really new to WebJobs and I'm struggling with something that would seem trivial. I have a storage account called "mydatastorage", and a container called "mydatacontainer". I have been scouring the web for a week now trying to do the following basic scenario: I have a large number of blobs...

What happens to running processes on a continuous Azure WebJob when website is redeployed?

azure-webjobs,azure-webjobssdk
I've read about graceful shutdowns here using the WEBJOBS_SHUTDOWN_FILE and here using Cancellation Tokens, so I understand the premise of graceful shutdowns, however I'm not sure how they will affect WebJobs that are in the middle of processing a queue message. So here's the scenario: I have a WebJob with...

Azure WebJobs Connection Strings configuration ( AzureWebJobsDashboard??? )

azure,azure-webjobs,azure-webjobssdk
I'm trying to work with Azure Webjobs, I understand the way its works but I don't understand why I need to use two connection strings, one is for the queue for holding the message but why there is another one called "AzureWebJobsDashboard" ? What its purpose? And where I get...

Access Registry From WebJob/WebApp

powershell,azure,azure-web-sites,azure-webjobs
I have been trying, without success, to disable the RC4 Cipher on Azure. I came across a code sample that worked with a Web Role: string[] subKeys = new string[] { "RC4 40/128", "RC4 56/128", "RC4 64/128", "RC4 128/128", }; RegistryKey parentKey = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers", true); foreach(string keyName in subKeys) {...

Showing Azure WebJob Functions log using API (Kudu)

azure,azure-webjobs,kudu
I am using Kudu Api to display some webjob data on a website monitoring app I created. The web app monitors data from a few other websites I created. I was wondering what API endpoints do I need to run in order to get the data from this page: https://{my_website}.scm.azurewebsites.net/azurejobs/#/functions...

Autoscaling continuous Azure WebJobs not working

azure,azure-webjobs
I have a few continuous web jobs setup on a azure website scaled to two to three large instances (standard mode with always on). My jobs only ever run on one of the w3wp processes. I need these to scale out but they won't. I've watched a few videos and...

Azure WebJob QueueTrigger How DeleteMessage after get it?

c#,azure-webjobs,windows-azure-queues
I have one webjob on azure, with a QueueTrigger. The job is long (More than 30 minutes) public async static Task ProcessQueueMessageAsync([QueueTrigger(QUEUENAME)] string iJobId) { //doing my long job } My problem is how delete the message in the queue after triggering. The message becomes invisible until a the timespan...

Azure WebJobs: There is not enough space on the disk

azure,azure-webjobs
I've tried zipping up a console app and uploading it to Azure as a WebJob, as I've done with others, but the upload fails. No explanation is given. So then I tried FTPing it up there. I put it in /site/wwwroot/App_Data/jobs/triggered/FeedbackNotifications Where "FeedbackNotifications" is the name of my WebJob. I...

Azure WebJobs: Can't find Trace logging

azure,logging,trace,azure-webjobs
I've followed the instructions on this Microsoft webpage for logging messages from an Azure WebJob, but none of my messages appear in the log. In my WebJob I write logging messages using Trace.TraceInformation("blah blah blah"); In the configuration file's application diagnostics section I have blob storage logging turned on with...

Update scheduled time for azure webjob programmatically

azure-webjobs
Is there a way to change the scheduled time for a webjob from within an MVC application or is the only way through the azure portal. I do not mean the initial schedule times, but after deployment change the scheduled time via UI in the Mvc application.

How can I keep my Azure WebJob running without “Always On”

azure,azure-web-sites,azure-webjobs,azure-webjobssdk
I have a continous webjob associated with a website and I am running that website on the Shared mode. I don't want to go to Always On option as there is no real need for my application. I only want to process the message when the calls are made to...

Polling an Azure Service Bus Queue from an Azure WebJob using Node.js

azure,azure-web-sites,azureservicebus,azure-webjobs
Trying to poll an Azure Service Bus Queue using a WebJob written in Node.js. I created 2 WebJobs. The first is on demand and sends 10 unique messages to the queue. The second job is continuous and polls the queue for messages. Encountering the following issues: The polling is SLOW....

Azure VM, Cloud service or Web job?

azure,azure-virtual-machine,azure-webjobs,azure-cloud-services
I am quite new to Azure and not quite sure what service I need to achieve this: What I want to do is developing an application/service to do some computing tasks. I have created a web API for sending data to my database. I will use the data from my...