Questions tagged [azure-functions]

Azure Functions is an event-driven serverless compute platform in Azure and Azure Stack. Its open-source runtime also works on multiple destinations including Kubernetes, Azure IoT Edge, on-premises, and other clouds.

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. You can write just the code you need for the problem at hand, without worrying about a whole application or the infrastructure to run it. Functions can make development even more productive, and you can use your development language of choice, such as C#, F#, Node.js, Java, or PHP. Pay only for the time your code runs and trust Azure to scale as needed. Azure Functions lets you develop serverless applications on Microsoft Azure.


###Getting Started

15299 questions
4
votes
2 answers

Azure Data Lake Store and Azure SQL with WebJob/Azure Function

I need to upload WEB API response files into Azure Data Lake. Then I have to dump those files into Azure SQL tables. Above both processes must be scheduled to execute on hourly basis. Should I use Azure Web Jobs or Azure Function.
AnshuK
  • 55
  • 1
  • 2
4
votes
1 answer

How to disable XML serialization in azure functions

When I access my azure function (C# HttpTrigger) from my browser I get an XML response with an error message instead of a JSON response. That is to be expected, since the response contains, amongst others, a JObject, which can be serialized to JSON…
Luc C
  • 1,133
  • 8
  • 22
4
votes
2 answers

Azure Functions Timer Trigger Scale-out

If i have an Azure Function which runs on a timer trigger every 5 minutes, what happens if one run takes more than 5 minutes? Will the next timer trigger kick off, regardless of any currently executing triggers? Reason i ask: I need to ensure only 1…
RPM1984
  • 72,246
  • 58
  • 225
  • 350
4
votes
1 answer

Azure Functions Billing Async Methods

When using Azure Functions based on a Consumption Based Plan that preform an async task, are you billed at the same rate if you await them vs. not awaiting?
ansario
  • 345
  • 4
  • 13
4
votes
4 answers

Limiting the number of concurrent jobs on Azure Functions queue

I have a Function app in Azure that is triggered when an item is put on a queue. It looks something like this (greatly simplified): public static async Task Run(string myQueueItem, TraceWriter log) { using (var client = new HttpClient()) { …
Mike Christensen
  • 88,082
  • 50
  • 208
  • 326
4
votes
2 answers

What is the cause of getting this error when creating a new Azure Function?

I created a C# Blob Trigger Function. It generated this code by default: public static void Run(Stream myBlob, string name, TraceWriter log) { log.Info($"C# Blob trigger function Processed blob\n Name:{name} \n Size: {myBlob.Length}…
Chris Harrington
  • 1,238
  • 2
  • 15
  • 28
4
votes
1 answer

send a full brokered message in azure service bus from an azure function

I'm facing issue to send a complete brokered message to an azure service bus output in azure function in javascript. The documentation only show a simple body message…
camous
  • 998
  • 11
  • 27
4
votes
2 answers

How to add a reference to an Azure Function C# project?

With the help of the latest Azure SDK, I got the Azure Function tools For Visual Studio So that I can debug my Azure Function on premises - cool. My azure function needs to use the code of a Business object dll From the .csx script I can make a…
Emmanuel DURIN
  • 4,803
  • 2
  • 28
  • 53
4
votes
3 answers

multiple field validation using F# (inside an azure function)

I have an azure function based on the http post template. I expanded the json from 1 prop to 3. let versionJ = json.["version"] let customerIdJ = json.["customerId"] let stationIdJ = json.["stationId"] match isNull versionJ with What is the best…
Jamie Dixon
  • 4,204
  • 4
  • 25
  • 47
4
votes
1 answer

Include project dependencies into function app

This article describes how to run your Azure Function code through VS 2015. How can I include project dependencies from within the same solution into this function? And without having to publish them to NuGet. I've tried adding the reference to…
4
votes
1 answer

Building SOAP Listener with Azure Functions

I am using Azure Functions to build some integrations between various systems. I new requirement is to respond to record updates in Salesforce. Some quick research yielded what seems like a good solution from the Salesforce side. Use Outbound…
Andrew Hawes
  • 386
  • 1
  • 5
  • 17
4
votes
1 answer

How to add a reference of "System.ServiceModel" from Azure Function?

I am calling an SOAP service from my Azure Function, and for that I need to add reference of System.ServiceModel assembly. I am able to add other dependencies using Nuget, but as this particular assembly is a framework assembly, so not sure how can…
Nirman
  • 6,715
  • 19
  • 72
  • 139
4
votes
3 answers

Azure function gives "The 'code' query parameter provided in the HTTP request did not match the expected value."

I am developing logic app in azure portal with azure function app.Logic app gives randomly code query parameter invalid error for function . When ever error occurred i have to clone the logic app is there any permanent solution for this…
Humna Zaidi
  • 49
  • 1
  • 5
4
votes
1 answer

Azure Function Firewall

I'm building a very lightweight API using Azure Functions, one thing I'm concerned about is abuse of the functions. What's to stop someone hammering a single method and causing my costs to escalate? Are there any ways I can blacklist IP address' if…
Nick
  • 1,015
  • 12
  • 31
4
votes
2 answers

Azure Functions - Blob Stream output binding

I've created an Azure function with a blob storage trigger - I want to process a file and then dump the file out to another blob storage container. In the simplest case I suppose it would look like this: public static void Run(Stream blob, string…
Nosmadas
  • 632
  • 3
  • 9
  • 17