azure-functions-runtime

How to create a Azure Function, Function Key when your functions are set to Readonly

家住魔仙堡 提交于 2019-12-04 02:03:47
问题 Summary: I'm authoring a function directly in Visual Studio which by design results in readonly function management in the portal. My question is how does one easily create a function key for said webhook? Context: I'm trying to hook up a generic webhook to Event Grid. This process has led me down a path of needing to trigger a SubscriptionValidationEvent which in turn requires my webhook to provide a "code" on the URL which I'm assuming is a function key. Also before I get down voted, I'm

Azure HTTP function trigger 2.x with Cosmos DB Output local dev host failing

狂风中的少年 提交于 2019-12-02 12:03:54
问题 I am developing a http trigger using azure functions 2.x and dotnet core, after the latest update to VS 2017 15.8.2 I am getting the following error when running the function locally 1/9/2018 13:30:50] Stopping Host [1/9/2018 13:31:06] Reading host configuration file 'C:\Users\MattDouhan\source\repos\NWMposTransInput\NWMposTransInput\bin\Debug\netstandard2.0\host.json' [1/9/2018 13:31:06] Host configuration file read: [1/9/2018 13:31:06] {} [1/9/2018 13:31:06] Starting Host (HostId

Azure HTTP function trigger 2.x with Cosmos DB Output local dev host failing

别来无恙 提交于 2019-12-02 07:29:43
I am developing a http trigger using azure functions 2.x and dotnet core, after the latest update to VS 2017 15.8.2 I am getting the following error when running the function locally 1/9/2018 13:30:50] Stopping Host [1/9/2018 13:31:06] Reading host configuration file 'C:\Users\MattDouhan\source\repos\NWMposTransInput\NWMposTransInput\bin\Debug\netstandard2.0\host.json' [1/9/2018 13:31:06] Host configuration file read: [1/9/2018 13:31:06] {} [1/9/2018 13:31:06] Starting Host (HostId=desktop7cks1do-260439321, InstanceId=5fd41a43-b3ca-47e4-adf6-320d40fa9613, Version=2.0.11960.0, ProcessId=13156,

How to create a Azure Function, Function Key when your functions are set to Readonly

会有一股神秘感。 提交于 2019-12-01 12:54:37
Summary: I'm authoring a function directly in Visual Studio which by design results in readonly function management in the portal. My question is how does one easily create a function key for said webhook? Context: I'm trying to hook up a generic webhook to Event Grid. This process has led me down a path of needing to trigger a SubscriptionValidationEvent which in turn requires my webhook to provide a "code" on the URL which I'm assuming is a function key. Also before I get down voted, I'm very well aware that there are multiple variants of this question asked and answered here already. I've

No job functions found. Try making your job classes and methods public

大城市里の小女人 提交于 2019-11-30 23:04:38
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 MSFT documentation does not seem to have the answers either. No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.). I am

No job functions found. Try making your job classes and methods public

只谈情不闲聊 提交于 2019-11-30 17:54:56
问题 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 MSFT documentation does not seem to have the answers either. No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for

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

久未见 提交于 2019-11-28 00:51:36
(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, however, when the function is called, it produces the error: System.Private.CoreLib: Exception while executing function: [MyFunctionName]. System.Drawing.Common: System.Drawing is not supported on this platform. As far as I'm aware, System.Drawing.Common is supported on .NET Core now, which I believe is the environment in which my Azure Function is running.

Azure Functions binding redirect

≯℡__Kan透↙ 提交于 2019-11-27 07:50:46
Is it possible to include a web.config or app.config file in the azure functions folder structure to allow assembly binding redirects? Assuming you are using the latest (June'17) Visual Studio 2017 Function Tooling, I derived a somewhat-reasonable config-based solution for this following a snippet of code posted by npiasecki over on Issue #992 . It would be ideal if this were managed through the framework, but at least being configuration-driven you have a bit more change isolation. I suppose you could also use some pre-build steps or T4 templating that reconciles the versions of the nugets in