azure-functions

Cannot create Collection Information — error when trying to test Cosmos DB trigger locally

…衆ロ難τιáo~ 提交于 2021-02-10 13:16:12
问题 I am testing out developing an Azure Function to read the change feed of a Cosmos DB database. I have created such a function from the Azure portal, but I would like to use VS or VS Code to do so. I have my environment set up using v2.0.3 of the Azure Function Core Tools, but when I try to test the function, I get the following error: [10/9/2018 4:33:34 PM] Error indexing method 'Functions.workordersTrigger' [10/9/2018 4:33:34 PM] Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions

Cannot create Collection Information — error when trying to test Cosmos DB trigger locally

风流意气都作罢 提交于 2021-02-10 13:15:54
问题 I am testing out developing an Azure Function to read the change feed of a Cosmos DB database. I have created such a function from the Azure portal, but I would like to use VS or VS Code to do so. I have my environment set up using v2.0.3 of the Azure Function Core Tools, but when I try to test the function, I get the following error: [10/9/2018 4:33:34 PM] Error indexing method 'Functions.workordersTrigger' [10/9/2018 4:33:34 PM] Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions

Cannot create Collection Information — error when trying to test Cosmos DB trigger locally

时光总嘲笑我的痴心妄想 提交于 2021-02-10 13:15:33
问题 I am testing out developing an Azure Function to read the change feed of a Cosmos DB database. I have created such a function from the Azure portal, but I would like to use VS or VS Code to do so. I have my environment set up using v2.0.3 of the Azure Function Core Tools, but when I try to test the function, I get the following error: [10/9/2018 4:33:34 PM] Error indexing method 'Functions.workordersTrigger' [10/9/2018 4:33:34 PM] Microsoft.Azure.WebJobs.Host: Error indexing method 'Functions

Azure Functions - v2 support and v1 lifetime

对着背影说爱祢 提交于 2021-02-10 12:57:40
问题 As per this question - Azure functions v2 only supports .Net Core We currently have Azure Functions v1 in production using .NET 4.6.1 which rely on 3rd party dlls which we do not have a .NET Core version yet. It could be 1-2 years before we get the 3rd party dlls to .NET Core, if ever. So some key questions I think everyone will want to know about upgrades are: Q1 - Are there any plans to have Azure Functions v2 support the regular .NET Framework in the future to make upgrading our production

How to Append a Text File in an Azure Blob with a Azure Function

谁说胖子不能爱 提交于 2021-02-09 20:33:58
问题 I've got a text file I need to append data to daily with a timer Azure Function. The text file is a comma separated file. I've created my CloudBlobClient and knew how to make my Shared Access Policy and Token. I just don't know how to use this to upload. I only know how to get an access URI from the tutorial I'm working with. 回答1: I've got a text file I need to append data to daily with a timer Azure Function. You can try to use append blob that is optimized for append operations. According

How to Append a Text File in an Azure Blob with a Azure Function

早过忘川 提交于 2021-02-09 20:28:59
问题 I've got a text file I need to append data to daily with a timer Azure Function. The text file is a comma separated file. I've created my CloudBlobClient and knew how to make my Shared Access Policy and Token. I just don't know how to use this to upload. I only know how to get an access URI from the tutorial I'm working with. 回答1: I've got a text file I need to append data to daily with a timer Azure Function. You can try to use append blob that is optimized for append operations. According

How to Append a Text File in an Azure Blob with a Azure Function

a 夏天 提交于 2021-02-09 20:28:12
问题 I've got a text file I need to append data to daily with a timer Azure Function. The text file is a comma separated file. I've created my CloudBlobClient and knew how to make my Shared Access Policy and Token. I just don't know how to use this to upload. I only know how to get an access URI from the tutorial I'm working with. 回答1: I've got a text file I need to append data to daily with a timer Azure Function. You can try to use append blob that is optimized for append operations. According

ServiceBusTrigger with enqueueTimeUtc argument fails when triggered via HTTP endpoint

佐手、 提交于 2021-02-09 08:17:53
问题 I'm developing a Service Bus Trigger in Azure Functions v1 locally with Visual Studio 2017. I want to test the example from the official docs without having to put a message in the service bus. So I trigger it via Postman at endpoint POST http://localhost:7071/admin/functions/ServiceBusQueueTriggerCSharp with body { "input": "foo" } . This fails with a script host error: Exception while executing function: ServiceBusQueueTriggerCSharp. Microsoft.Azure.WebJobs.Host: One or more errors occurred

ServiceBusTrigger with enqueueTimeUtc argument fails when triggered via HTTP endpoint

丶灬走出姿态 提交于 2021-02-09 08:17:51
问题 I'm developing a Service Bus Trigger in Azure Functions v1 locally with Visual Studio 2017. I want to test the example from the official docs without having to put a message in the service bus. So I trigger it via Postman at endpoint POST http://localhost:7071/admin/functions/ServiceBusQueueTriggerCSharp with body { "input": "foo" } . This fails with a script host error: Exception while executing function: ServiceBusQueueTriggerCSharp. Microsoft.Azure.WebJobs.Host: One or more errors occurred

ServiceBusTrigger with enqueueTimeUtc argument fails when triggered via HTTP endpoint

▼魔方 西西 提交于 2021-02-09 08:16:56
问题 I'm developing a Service Bus Trigger in Azure Functions v1 locally with Visual Studio 2017. I want to test the example from the official docs without having to put a message in the service bus. So I trigger it via Postman at endpoint POST http://localhost:7071/admin/functions/ServiceBusQueueTriggerCSharp with body { "input": "foo" } . This fails with a script host error: Exception while executing function: ServiceBusQueueTriggerCSharp. Microsoft.Azure.WebJobs.Host: One or more errors occurred