Questions tagged [azure-functions-runtime]

338 questions
29
votes
6 answers

Azure Functions binding redirect

Is it possible to include a web.config or app.config file in the azure functions folder structure to allow assembly binding redirects?
27
votes
10 answers

Azure Function fails to bind ILogger

My function is referencing an assembly that references Microsoft.Extensions.Logging.Abstractions 2.0.0. If I add a nuget reference to that version to the function's assembly, function execution fails with: [1/25/2018 11:14:46 PM]…
RA.
  • 1,329
  • 1
  • 10
  • 15
17
votes
2 answers

Azure Function gives error: System.Drawing is not supported on this platform

(If this question is poorly worded, could someone please help me clear it up?) I have an Azure Function (2.0) which relies on some System.Drawing code. I've added a NuGet reference to System.Drawing.Common (4.5.0). After publishing the app,…
17
votes
3 answers

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

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…
14
votes
5 answers

Unable to debug and publish Azure Function from Visual Studio 2017

I used to debug and publish my Azure Function Project using Visual Studio 2017. However suddenly everything stopped working. When i tried to debug the project i got the error "A project with an Output Type of Class Library cannot be started…
Markus S.
  • 1,667
  • 7
  • 24
14
votes
8 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…
13
votes
1 answer

Azure functions are slow

I’m testing the CPU performance of functions, so I made a function that finds the prime numbers in a number. It is triggered by Azure Service Bus. On my local machine it runs in 350ms. The function, when running in a consumption plan, takes around…
12
votes
2 answers

ExecutionContext in Azure Function IWebJobsStartup implementation

How to get access to the ExecutionContext.FunctionAppDirectory in Functions Startup class so I can setup my Configuration correct. Please see the following Startup code: [assembly: WebJobsStartup(typeof(FuncStartup))] namespace Function.Test { …
10
votes
3 answers

How to migrate Azure Functions v3 to .net core 5.0

I have upgraded all assemblies in an Azure Function v3 project to version 5.0 but I am unable to run the function. Here it is my function's csproj file's partial definition: netcoreapp3.1
Arash
  • 2,451
  • 3
  • 32
  • 52
9
votes
2 answers

Inexplicable storage transactions from Azure Functions

I have a project with a couple of .NET Core based Azure Functions running on a schedule. One of them runs once every 10 minutes and serves to update view counts similar to how SO tracks question views and the other sends emails once a week. These…
Stilgar
  • 20,008
  • 6
  • 58
  • 93
9
votes
5 answers

Error in Azure Function App VS 2019 .NET 3.0 - Method not found: 'IFunctionsHostBuilder.get_Services()'

Issue with Azure Functions/EFSQLSERVER .NET CORE 3.0: To reproduce: Use Visual Studio 2019 16.2.1 Use Azure Function template to create a project. Changed Target Framework to .NET Core 3.0 Add Microsoft.EntityFrameworkCore.SqlServer" …
9
votes
3 answers

Deleting Azure Function Published by Visual Studio

I have published an Azure Function through visual studio. Now I want to delete the published Azure function and the button to delete is disabled. Is there a way to delete the azure function published from VS?
Shiju Samuel
  • 1,017
  • 3
  • 16
  • 33
8
votes
1 answer

Is ConfigureAwait(false) needed/beneficial when awaiting async calls in Azure Functions

It is generally recommended to use ConfigureAwait(false) when awaiting async calls when context is not required. Just wondering is there any benefit of using ConfigureAwait(false) in Azure Functions. Do Azure Function threads have non-null…
8
votes
3 answers

Azure Functions - Configure client certificate authentication

Do functions support authorizing access to a Function by using client certificates, in a consumption plan? Something similar to the approach described here? Basically, I'm looking for the Functions runtime to immediately reject connection requests…
Luis Delgado
  • 3,466
  • 1
  • 28
  • 48
7
votes
2 answers

Azure function is getting executed in local even RunOnStartup = false

As per my understanding Azure function will execute In case RunOnStartup = true 1. on startup 2. if a host changed 3. a new deployment happen 4. on schedule time And, In case RunOnStartup = false or not define 1. on schedule time…
1
2 3
22 23