Questions tagged [webjob]

Used in cloud hosting services like Microsoft Azure

164 questions
3
votes
2 answers

Subscribe and process events from RabbitMQ in Azure

For my new project every component is going to be deployed in Azure. I have a 3rd party application that processes events using RabbitMQ and I want to subscribe to these events and process them to store the data in the events in my own database. …
Marcel Hoekstra
  • 1,334
  • 12
  • 19
3
votes
3 answers

ServiceBusTrigger not working after update

I have installed the NuGet package Micorosft.Azure.WebJobs.ServiceBus, version 1.0.1 (March 19, 2015). My WebJob is perfectly triggered for a new message on the servicebus queue: public static Task ProcessQueueMessage([ServiceBusTrigger("outbound")]…
Peter
  • 217
  • 1
  • 2
  • 8
2
votes
1 answer

Azure Service Bus send message every other time

I've a c# dotnet webjob and a simple desktop app. Sending a message apperaes to work only every other time. serviceBusClient = new QueueClient(_config["ServiceBusConnectionString"], "queuename", ReceiveMode.ReceiveAndDelete); …
Greg
  • 25,317
  • 6
  • 53
  • 62
2
votes
0 answers

Store Azure WebJobs connection string on to Azure Portal App Settings

I'm trying to store the Web Job connection strings on to Azure Portal. I've moved the connection strings there but Web Job keeps failing with error below: [03/05/2021 01:59:23 > 2aff49: INFO] stem.ArgumentException: ConnectionString should not be…
Nil Pun
  • 17,035
  • 39
  • 172
  • 294
2
votes
1 answer

Ways to leverage single code base between Windows Service and Azure WebJob

I'm working on a timed recurring process that in some cases will be deployed OnPrem and in other cases deployed in the cloud (Azure). I'm researching a Windows Service and an Azure WebJob. Given that I only need the recurring process to be the timed…
Jason
  • 77
  • 1
  • 6
2
votes
1 answer

Azure App service VS WebJob

I have a confusion over differences between using app service alone and app service with web jobs. I have a computation intense task (2-20 min) that must be triggered manually (user asks for it from time to time). Right now everything happens in one…
Dmitry
  • 21
  • 1
  • 3
2
votes
3 answers

How do I use a different 'settings.job' per environment via VSTS

We are deploying a scheduled web job to Azure. The web job is developed using Visual Studio 2015. The 'settings.job' file contains the schedule definition. However, we want to use a different schedule depending on whether we are deploying to a…
melvers
  • 353
  • 2
  • 10
2
votes
2 answers

Publishing a windows service as a AZURE WEBJOB

I have a NserviceBus Handler that gets installed as a service on a VM usually. We are trying to get this to work on Azure as a PAAS. So the idea is to publish the solution as an azure webjob. When I do publish it as a web job I am getting a pending…
2
votes
2 answers

msbuild behaving differently from command line vs Jenkins

I have a Jenkins job that creates and deploys a website package. When I run the job from Jenkins it creates a package for each project and the deployment package doesn't contain the webjobs. However, the same msbuild command from command line it…
David Aleu
  • 3,922
  • 3
  • 27
  • 48
2
votes
1 answer

Azure WebJob create with DotNet Core targeting Net Standard fails with error

I have a dot net core console app that I want to run as a webjob in Azure. When it tries to execute I see in the logs Error: assembly specified in the dependencies manifest was not found -- package: 'Microsoft.DotNet.InternalAbstractions', version:…
Mathias Rönnlund
  • 4,078
  • 7
  • 43
  • 96
2
votes
1 answer

Azure WebJob never ran. Why?

Navigating to App Services in Azure, then navigating to WebJobs, I am able to add a new WebJob. I name it, upload a zip file with the necessary files, and under type, I select triggered instead of continuous. For Triggers, scheduled is selected.…
LatentDenis
  • 2,839
  • 12
  • 48
  • 99
2
votes
1 answer

Add WebJob to Azure App Service - permission issue

My client has Azure subscription and has App Service inside. My Azure account is added to this App Service as owner. Now I need to add WebJob to this App Service. I have added WebJob project to Visual Studio solution, linked with Website project and…
Oleg Sh
  • 8,496
  • 17
  • 89
  • 159
2
votes
0 answers

Azure Webjob CPU usage is never more than 5%

I have a very small website that almost do nothing by now, and we are implementing webjobs to do sometime-heavy background things like loading and processing information that needs to be filtered and prepared to then be showed at the web. Everything…
fernaramburu
  • 151
  • 1
  • 8
2
votes
0 answers

Cannot Publish WebApp or WebJob - 'Media File is Write Protected'

I've been publishing my 3 WebApps and 1 WebJob successfully for the past two weeks and all of a sudden I can not longer publish (from Visual Studio) as I get the following error. Web deployment task failed. (Failed to delete the auto-swap lock…
Darryn
  • 21
  • 1
1
vote
0 answers

Is it good to use CQRS with Mediator pattern in webjobs

I'm developing a data import application that reads data from multiple CSV files and stores them in a temporary table. And the application process the data from the temp table to multiple tables in the database. Is it good to use the CQRS pattern…
1
2
3
10 11