Questions tagged [azure-webjobs]

Provides an easy way for you to run programs such as services or background tasks in an Azure Web App (previously known as Websites).

The WebJobs feature of Windows Azure Web Apps provides an easy way for you to run programs such as services or background tasks in a Web App. See the Azure WebJobs SDK Wiki page for how to get started, documentation, code samples, and useful links.

2237 questions
237
votes
9 answers

Azure Webjobs vs Azure Functions : How to choose

I've created some Azure Webjobs that use triggers and I've just learnt about Azure Functions. From what I understand Azure Functions seem to overlap with Azure Webjobs features and I have some difficulty to understand when to choose between Function…
Thomas
  • 24,234
  • 6
  • 81
  • 125
77
votes
3 answers

Where do I get the AzureWebJobsDashboard connection string information?

Trying to update my Service Bus apps to use the new RTM and I need this information.
Slee
  • 27,498
  • 52
  • 145
  • 243
68
votes
3 answers

Worker Role vs Web Job

From what I understand both run small repeatable tasks in the cloud. What reasons and in what situations might I want to choose one over the other?
atreeon
  • 21,799
  • 13
  • 85
  • 104
68
votes
8 answers

What Does Azure WebJob "Pending Restart" Mean?

What does "Pending Restart" mean? I have stopped and restarted my WebJob numerous times and that doesn't seem to fix it. Does it mean I have to restart my website? What caused my job to get in this state in the first place? Is there any way I can…
randomsolutions
  • 2,075
  • 1
  • 19
  • 22
66
votes
5 answers

Rename an Azure Function

How to rename an Azure Function? I want to replace a default 'HttpTriggerCSharp1' name to my own. At the moment unfortunately this name is included in the function url and there is no option to change…
66
votes
5 answers

Dependency injection using Azure WebJobs SDK?

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…
Milos Mrdovic
  • 1,441
  • 1
  • 17
  • 30
63
votes
2 answers

How do I write to the logs in Azure WebJobs from a C# console app?

I'm testing out Azure Webjobs. I wrote a console application which polls a SQL database for new work and processes it. I'm not using the WebJobs SDK because it only supports Azure Storage. I upload the job, it runs, and then it fails with a…
Geoff Armstrong
  • 863
  • 1
  • 8
  • 12
57
votes
4 answers

The 'DefaultConnection-Web.config Connection String' argument cannot be null or empty

When I deploy my project with "Publish as Azure WebJob" using Visual Studio, I get the error in the title.
RickAndMSFT
  • 20,912
  • 8
  • 60
  • 78
48
votes
4 answers

How to set Azure WebJob queue name at runtime?

I am developing an Azure WebJobs executable that I would like to use with multiple Azure websites. Each web site would need its own Azure Storage queue. The problem I see is that the ProcessQueueMessage requires the queue name to be defined…
eklein23
  • 483
  • 4
  • 5
44
votes
22 answers

No job functions found. Try making your job classes and methods public

First off, I have looked at the other SO posts with the same error message and none seem to resolve my issue. I have tried many permutations and options. My function builds fine but will not run in the CLI, I get the following cryptic error. The…
40
votes
2 answers

Azure Service Bus Emulator

I am developing a WebJob, which uses service bus queue, but I don't have an Azure account. Does there exist some Service Bus emulator to test the webjob ? I need to take the queue input to simulate the [ServiceBusTrigger]
39
votes
1 answer

How To Configure Queue Name for Queue Trigger In Azure Function App

I'm creating a function app in Azure and want to use a queue trigger. I know how to configure the queue name at design time, e.g: [FunctionName("MyTestFunction")] public static void Run([QueueTrigger("myqueue-items", Connection =…
Steviebob
  • 1,705
  • 2
  • 23
  • 36
34
votes
4 answers

Azure webjobs vs scheduler

A very simple question: Why would someone use the Azure Scheduler if Azure WebJobs are free? I couldnt find any topic regarding "azure webjobs vs azure scheduler" The main difference is that the webjob contains everything that the scheduler can…
sports
  • 7,851
  • 14
  • 72
  • 129
33
votes
10 answers

An error occurred while creating the WebJob schedule

I an trying to publish my website along with few WebJobs but after the website and the jobs are created on the Azure Website, I see an error on the VS.NET 2013 that says: Error 948 An error occurred while creating the WebJob schedule: No website…
Kiran
  • 2,997
  • 6
  • 31
  • 62
31
votes
7 answers

Function host is not running

I have a Function App in azure and when I hit the URL of the function app it says "Function host is not running." I am not sure where I have to check and what needs to be changed. I tried restart but still no luck.
1
2 3
99 100