azure-webjobssdk

Azure Function - Resize image stored in a blob container

拈花ヽ惹草 提交于 2019-11-28 12:43:17
I've answered this question related to Azure Webjob and Resizing a image stored as a blob and so I am trying to do the same using a Function App Each time a new blob is uploaded, I send a a new queue message. My function is triggered by the queue message and bind to the uploaded blob. I also have a second input binding that binds to another CloudBlobContainer to be able to upload new resized images to another blob container. My function looks like that: #r "System.Web" using System.IO; using System.Web; using ImageResizer; using Microsoft.Azure.WebJobs; using Microsoft.WindowsAzure; using

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

五迷三道 提交于 2019-11-28 07:02:07
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 my website. My issue is that the job keeps stopping after few minutes even though I am continuously calling a dummy keep alive method on my website at every 5 minute that posts a message to the queue that is monitored by that webjob. My webjob is a simple console application built using the WebJob SDK that has a code like this JobHost host = new

An error occurred while creating the WebJob schedule

空扰寡人 提交于 2019-11-27 20:55:24
问题 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 could be found which matches the WebSiteName [mysitename] and WebSiteUrl [http://mysitename.azurewebsites.net] supplied my website has 2 WebJobs, 1 that runs continuously and it's created and running, but the one that needs to be triggered on a

Azure Web Job-The remote server returned 404

孤街醉人 提交于 2019-11-27 19:31:07
问题 I have a continuos running web job which listens to a start queue and a stop queue with their respective functions. There are 3 predefined process in the web job and the start queue contains a message which mentions the process name to be started while the stop queue contains a message which mentions the process name to be stopped. When ever the webjob stops a process it crashes and restarts with the above exception since last 4 weeks. Executing: 'Functions.StartProcess' because New queue

Azure Triggered Webjobs Scope for Dependency Injection

雨燕双飞 提交于 2019-11-27 03:39:38
问题 I've read and asked some questions on how to use DI using WebJob and especially Triggered Webjobs. SimpleInjector - Azure WebJob with TimerTrigger - Register IDisposable Dependency injection using Azure WebJobs SDK? I still try to figure out how to integrate gracefully DI in triggered webjobs and @Steven asked me a good question : Isn't there a way to wrap the execution of your service in some scope? For instance, MVC and Web API have an IDependencyScope abstraction for this. This notifies