azure-functions-core-tools

Azure functions blob trigger - Use same receipts for different host names and new versions of the function

倖福魔咒の 提交于 2019-12-11 06:42:10
问题 I am using azure functions with the blob trigger and with the runtime 2.x. After the function being executed the runtime adds blob receipt into the location below (azure-webjob-hosts>blobreceipt>) Is there any way to make runtime to use the same hostnameid in the path (in this case it's 8a76f42c1c01-2137340777)? Because if run function locally or publish new version of the code it would use different host identifier (like macbook-id). The main problem is when I run func azure functionapp

Could not load file or assembly System.Fabric with Azure Functions

試著忘記壹切 提交于 2019-12-11 02:26:35
问题 Are there any restrictions with packages you can use with Azure Functions. I have researched as much as I can and it doesn't seem so, however when I try creating an Azure Function that references the package "Microsoft.ServiceFabric" I get the following error: System.Private.CoreLib: Exception while executing function: ScaleDownServiceFabrics. FunctionApp2: Could not load file or assembly 'System.Fabric, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or

How to disable Read Only mode in Azure Function App?

北慕城南 提交于 2019-12-10 13:28:05
问题 I create a new Function App (v2) from Azure portal. Then I initiate a new app on my local computer with help of Azure Functions Core Tools v2.3, and publish it to my new app on portal: func init func new func azure functionapp publish my-app-name This puts my app in Read Only mode. But I need to be able to change the app from portal, because I need to create proxies (Core Tools isn't able to create proxies, please correct me if I'm wrong). How can I disable the Read only mode? Following is

Newtonsoft.Json.JsonReaderException thrown when running Azure function(V2) locally

别说谁变了你拦得住时间么 提交于 2019-12-05 03:55:11
I created a queue trigger template of Azure function v2 in VS2017. When I ran the project locally, the function runtime started successfully. But when I created a message in the queue, VS downloaded a JsonSerialization.cs file and pointed out the error. Details of default Exception settings: It's a template generated by VS, so there seems no code issue like what I have found in other posts. What I have tried: Publish the project to Azure, works. Run the project with function core tool(Cli) installed by npm, also works. I guess the problem is related to the function Cli used by VS. But its

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