azure-functions-runtime

Azure Functions ARM template redeployment deletes my published functions

我是研究僧i 提交于 2020-05-29 03:24:39
问题 I have an Azure Functions (2.0) instance deployed by an ARM Template using Azure DevOps pipelines. I have another pipeline that deploys a functions application to the instance through zip deploy. This almost works perfectly, however, if I deploy the functions Infrastructure as Code, then deploy the app and then redeploy the Infrastructure as Code, my functions app is removed and all the functions disappear. I am using the incremental deployment so I cont see why it does this. Any thoughts on

Azure Functions ARM template redeployment deletes my published functions

拜拜、爱过 提交于 2020-05-29 03:24:38
问题 I have an Azure Functions (2.0) instance deployed by an ARM Template using Azure DevOps pipelines. I have another pipeline that deploys a functions application to the instance through zip deploy. This almost works perfectly, however, if I deploy the functions Infrastructure as Code, then deploy the app and then redeploy the Infrastructure as Code, my functions app is removed and all the functions disappear. I am using the incremental deployment so I cont see why it does this. Any thoughts on

Which plan to select for my Azure function : Consumption Plan or App Service Plan?

三世轮回 提交于 2020-05-27 12:07:17
问题 We have created a blob triggered azure function to process files placed in blob storage. Load on this blob will not be consistent. For example, for some hours there will be hundreds or even thousands of file will be placed in that blob every minutes. On the other hand there will be some hours during which we will not find even a single file. Some files will be processed in very few seconds and some can take more than 10-15 minutes. So my question is: In this type of unpredictable scenario

Azure function is not triggered locally

邮差的信 提交于 2020-05-15 16:30:33
问题 I developed my Azure function app locally using VScode and pushed it to azure cloud, I have eventhub-trigger functions, I used to debug my code locally through VScode normally, but now when I run func host start --debuge , functions in my app started but nothing is triggered, I can see them triggered on the cloud through their log, it drive me mad, why they are not triggered locally, they are enabled, I restarted my function app several times, but I got nothing. My app is https:/

Azure Functions Portal error - The function runtime is unable to start

一个人想着一个人 提交于 2020-05-14 14:43:51
问题 I have a VS 2017 C# developed Azure Function App deployed on the consumption plan using the VS 2017 Publish mechanism. All functions are timer or Service Bus triggered. I see a status of running in the Azure Portal and the functions appear to be working e.g. writing rows to a SQL Azure database, however, I am constantly encountering errors in the Azure Portal when trying to inspect or Monitor the functions e.g. a red error box pops up with the Error : The function runtime is unable to start.

C# Accessing on-premise network shares from azure functions using credentials

时光总嘲笑我的痴心妄想 提交于 2020-04-18 05:39:06
问题 Some background: We currently receive files from multiple data-vendors on a FTP server hosted by our hosting partner. As part of a new project we are setting up an Azure Function. This function runs in a ressource-group that our hosting partner has set up for VPN/private network access. This function is the first step in a process of replacing multiple legacy programs in Excel/VBA with Azure functions. What we need is to move files from the FTP server to another internal (file-)server (to

How to write unit test for azure function (Httptrigger) with ILogger

混江龙づ霸主 提交于 2020-04-06 03:37:19
问题 Want to write unit test for HttpTrigger GET. Have method signature as follow: public static async Task<HttpResponseMessage> Run( [HttpTrigger(AuthorizationLevel.Function, "get", Route = null)] HttpRequestMessage request, ILogger log) here, ILogger is type of Microsoft.Extensions.Logging. How to write unit test case with this injection, Tried to create stub of ILogger using below stuff but this needs LoggerFactory . public class LoggerWriter : Microsoft.Extensions.Logging.Logger<ILogger> {

Azure Functions 2.0 - EventHubTrigger - System.Private.CoreLib: Could not load file or assembly “FunctionsProject.dll”

扶醉桌前 提交于 2020-01-23 13:42:50
问题 I was able to run function app which has eventhub binding from local as well as from West US2 Consumption plan. From last 4 days, after we moved all our dependent projects to build in x64 and updating all nugets to latest - function app started failing. It does not even start, it fails to load the functionsproject.dll itself. Same issue even If I deploy bits to Consumption Plan. Functions Project Name here - EventHubConsumers Azure function version - 2.0 Azure function tools version - 2.28

Azure Functions 2.0 - EventHubTrigger - System.Private.CoreLib: Could not load file or assembly “FunctionsProject.dll”

别来无恙 提交于 2020-01-23 13:41:13
问题 I was able to run function app which has eventhub binding from local as well as from West US2 Consumption plan. From last 4 days, after we moved all our dependent projects to build in x64 and updating all nugets to latest - function app started failing. It does not even start, it fails to load the functionsproject.dll itself. Same issue even If I deploy bits to Consumption Plan. Functions Project Name here - EventHubConsumers Azure function version - 2.0 Azure function tools version - 2.28

Azure Function: Insufficient memory to continue the execution of the program

人走茶凉 提交于 2020-01-16 05:23:04
问题 Trying to run an Azure Functions project locally and get the following error: Insufficient memory to continue the execution of the program. This happens before anything is logged or startet so there is nothing to debug. Anyone have any clue how to debug this? I've deleted all the code, removed all dependencies. All there is left is a default timer function with no implementation. It still do not work. If i create a new function project, func init, everything works. I can't see any difference