azure-functions-core-tools | Command line tools for Azure Functions | Cloud Functions library

 by   Azure C# Version: 4.0.5611 License: MIT

kandi X-RAY | azure-functions-core-tools Summary

kandi X-RAY | azure-functions-core-tools Summary

azure-functions-core-tools is a C# library typically used in Serverless, Cloud Functions applications. azure-functions-core-tools has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

The Azure Functions Core Tools provide a local development experience for creating, developing, testing, running, and debugging Azure Functions.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              azure-functions-core-tools has a medium active ecosystem.
              It has 1113 star(s) with 350 fork(s). There are 96 watchers for this library.
              There were 5 major release(s) in the last 6 months.
              There are 542 open issues and 1384 have been closed. On average issues are closed in 36 days. There are 40 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of azure-functions-core-tools is 4.0.5611

            kandi-Quality Quality

              azure-functions-core-tools has no bugs reported.

            kandi-Security Security

              azure-functions-core-tools has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              azure-functions-core-tools is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              azure-functions-core-tools releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of azure-functions-core-tools
            Get all kandi verified functions for this library.

            azure-functions-core-tools Key Features

            No Key Features are available at this moment for azure-functions-core-tools.

            azure-functions-core-tools Examples and Code Snippets

            copy iconCopy
            npm i -g azure-functions-core-tools@3 --unsafe-perm true
            
            choco install azure-functions-core-tools
            
            How to publish azure function from vs code?
            JavaScriptdot img2Lines of Code : 12dot img2License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            ext install azuretoolsforvscode
            
            azure:login
            
            Azure:Create an azure function App(advanced)
            
            npm i -g azure-functions-core-tools
            
            func init yourfunctionname
            
            copy iconCopy
            Azure Functions Core Tools (2.6.1080 Commit hash: 509d59b7eb6fbfb89f70ce96ad22e00f8f7bafdd)
            Function Runtime Version: 2.0.12427.0
            
            Now listening on: http://0.0.0.0:7071
            
            npm install azure-fun
            copy iconCopy
            brew tap azure/functions
            brew install azure-functions-core-tools
            
            /Users/dentonsavage/Projects/AzureFunctionTest/AzureFunctionTest/bin/Debug/netstandard2.0
            
            I cannot run azure functions core tools locally
            Lines of Code : 9dot img5License : Strong Copyleft (CC BY-SA 4.0)
            copy iconCopy
            /usr/lib
            └── azure-functions-core-tools@2.0.1-beta.23-1 
            
            /usr/lib
            └── azure-functions-core-tools@2.0.1-beta.23
            
            brew tap azure/functions
            brew install azure-functions-core-tools
            

            Community Discussions

            QUESTION

            How to use Microsoft.Extensions.Logging.Abstraction 5.0.0 with Azure Durable Functions
            Asked 2021-Dec-31 at 02:01

            I am working with Azure Functions and I am having a problem that involves the NuGet "Microsoft.Extensions.Logging.Abstractions". My solution has been running perfectly fine, but recently I added a dependency which depends on "Microsoft.Extensions.Logging.Abstractions 5.0.0". The project builds fine, but when I run it. the following error appears: "Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=5.0.0.0".

            I found some information related to this on a Github issue. The suggestions that I found were:

            1. Downgrade "Microsoft.Extensions.Logging.Abstractions" to version 3.1.0. I can't do this, since I have a third-party dependency that references that same NuGet, but with version 5.0.0.
            2. Upgrade to .NET 5.0. I can't do this, since I need to use Durable Functions, and those are not yet supported in Azure Functions with .NET 5.0.

            I also tried using multiple versions of that same NuGet, but I got the same error (I tried the approach that is mentioned in this link).

            Is there any way of solving this problem?

            UPDATE: I created a minimal example in which the issue can be reproduced. It is located here. The branch feature/WithLogging3 runs as expected, but the feature/WithLogging5 fails with the message "'The host has not yet started". If I enable the option to Break the Debugger with Common Language Runtime Exceptions, I get the error "Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified".

            It seems that the project only fails when there is an ILogger being injected into a function. For instance, this one (taken directly from Visual Studio 2019 Template for Azure Functions with .NET Core 3.1):

            ...

            ANSWER

            Answered 2021-Dec-31 at 02:01

            I tried to reproduce the issue as I got no errors for both .Net Core 3.1 and 6 Versioned Azure Durable Functions Project when installed the package Microsoft.Extensions.Logging.Abstractions version 5.0.0 through following steps.

            1. Created two projects of Azure Durable Functions in .Net Core 3.1 and 6.
            2. Added the package Microsoft.Extensions.Logging.Abstractions version 5.0.0 using dotnet core CLI command in the terminal of VS Code project.

            dotnet add package Microsoft.Extensions.Logging.Abstractions --version 5.0.0

            And Executed the functions one by one, as the following output shows it is running successfully:

            Azure Durable Functions .Net Core 3.1

            Azure Durable Functions .Net Core 6

            Updated Answer:

            Microsoft.Extensions.Logging.Abstractions version 5.0.0 is added to the minimal example provided to the Azure Function and it is running successfully.

            Source https://stackoverflow.com/questions/70526466

            QUESTION

            How to properly install azure-cli in Ubuntu 20.04 using homebrew?
            Asked 2021-Dec-01 at 09:15

            I am trying to install the azure-cli locally from a cloned repository. I successfully installed homebrew on my end. However, when I try to install the azure-cli, the error occurs below at the very end:

            From the repository, the instructions work on other devices, both on windows and linux. I don't know why it won't work on my end:
            Step 1: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
            Step 2: brew tap-new /azure-cli
            Step 3: brew extract azure-cli /azure-cli --version 2.29.2
            Step 4: brew install /azure-cli/azure-cli@2.29.2 (This is where error occurs)

            *Note: the section is the name of the user of my laptop.

            Other part of the installation process I've successfully installed:
            Decorator setup:
            sudo apt install python3-pip
            sudo /usr/bin/pip3 install --system decorator
            Azure Functions Core Tools:
            npm i -g azure-functions-core-tools@3 --unsafe-perm true

            ...

            ANSWER

            Answered 2021-Dec-01 at 07:26

            We have ran the below cmdlets in our local environment to install Home brew & azure cli on azure Linux virtual machine which is running with Ubuntu 20.04 image.

            Here are the list of Linux cmdlets used:

            Source https://stackoverflow.com/questions/70170388

            QUESTION

            Unable to install the Azure Functions Core tools version 3 in windows locally
            Asked 2021-Nov-23 at 04:50

            Previously, I have the azure functions core tools version 3.

            For practice purpose, I have installed azure functions core tool version 2 using this command:

            ...

            ANSWER

            Answered 2021-Nov-23 at 04:50

            This might be due to the node version. When I tried to use the latest node version to 16v and npm of 8v I could able to change my azure function tools version from 2v to 3v or 3v to 2v (i.e.. Interchangeable).

            Here is the screenshot for your reference.

            Source https://stackoverflow.com/questions/70074516

            QUESTION

            The type initializer for 'Microsoft.EntityFrameworkCore.Query.QueryableMethods' threw an exception
            Asked 2021-Oct-28 at 17:07

            I've got one function app which throws following error when I run it with azure-functions-core-tools@4.0.3780 start command.

            ...

            ANSWER

            Answered 2021-Oct-27 at 06:25

            The QueryableMethods Class is Compatible with Microsoft.EntityFrameworkCore v5.0.0

            Try removing the reference to EntityFramework by changing target framework to net5.0 .

            Source https://stackoverflow.com/questions/69709882

            QUESTION

            TelemetryClient.StartOperation always failed when passing an Activity as parameter in Azure function
            Asked 2021-Jun-21 at 07:02

            I have a simple Azure function using BlobTrigger and want to use Application Insights SDK to work with custom telemetry.

            ...

            ANSWER

            Answered 2021-Jun-21 at 07:02

            Per my searching, I found this document and it said

            There is a Functions-specific version of the Application Insights SDK that you can use to send custom telemetry data from your functions to Application Insights: Microsoft.Azure.WebJobs.Logging.ApplicationInsights

            So I followed the sample code and test, but the latest stable version(3.0.27) of this package will return the same error as yours, but when I changed to v3.0.25, the error disappeared.

            Source https://stackoverflow.com/questions/68060827

            QUESTION

            Azure Subscription can't be found when I sign into Azure via Dockerized env
            Asked 2021-Jun-07 at 08:27

            I have a strange situation where when I use a local powershell script in my visual studio project that logs in using a service principal and then is able to associate a specific subscription.

            ...

            ANSWER

            Answered 2021-Jun-07 at 08:27

            As far as I know, the output of the command az login --service-principal --username $AZ_APPLICATION_CLIENT_ID --password $AZ_SECRET --tenant $TENANT --allow-no-subscriptions also includes the subscription ID like "id": "" instead of "id": "" in your output. You can show the default subscription with the command az account show.

            I found that there are two variables $APPLICATION_CLIENT_ID and $APPLICATION_ID in your questions. Not sure you have a typo or using the wrong variable there. Please make sure you input the correct subscription id value when you run az account set -s and other parameters values via echo the environment variable value.

            You can also get a list of subscriptions for the logged-in account with the command az account list and check if the subscription Id does exist in the specific tenant.

            At last, you may need to re-auth the CLI with az login. Or, by comparing the Az CLI version with your local workstation, you may need to reinstall or upgrade it.

            Edit

            You can verify if the service principal indeed belongs to the subscription. Search the display name of App registration in the IAM of subscriptions.

            Source https://stackoverflow.com/questions/67828274

            QUESTION

            Exceeded language worker restart retry count for runtime:node. Shutting down and proactively recycling the Functions Host to recover
            Asked 2021-Mar-10 at 11:24

            I am currently trying to do the MS tutorial on Azure serverless webapps, but I am completely stuck. Whenever I try to start the sample, (be it by pressing F5 to debug or by entering func host start directly in the terminal) I get the following error message:

            Exceeded language worker restart retry count for runtime:node. Shutting down and proactively recycling the Functions Host to recover

            I know there are several seemingly similar threads on that error message, however all of them contain some hidden error message, while for me it simply crashes. No additional error. Nothing. Just to make sure I tried all suggested fixes (except for downgrading Visual Studio Code all the way back to <= 1.39; seems a little radical)

            Anyway, here is the --verbose output from running func host start on the official Microsoft tutorial for REST WebApps on Azure (https://docs.microsoft.com/en-us/learn/modules/automatic-update-of-a-webapp-using-azure-functions-and-signalr/3-exercise-analyze-limitations-of-polling-in-a-web-app)

            ...

            ANSWER

            Answered 2021-Mar-10 at 11:24

            If you just let the tutorial run, it will automatically install azure-functions-core-tools@3, which is the current version.

            However, the tutorial code only works with version 2.6.666 < v < 3.0

            To fix the tutorial run:

            npm i -g azure-functions-core-tools@2 --unsafe-perm true

            This will install the newest version of version 2. Running the program afterwards will throw warnings because of Azure Functions being outdated. You can simply ignore it, the sample works now.

            Source https://stackoverflow.com/questions/66554811

            QUESTION

            Timeout: WebException when trying to access/debug LocalHost of Azure Functions [Unity] [PlayFab]
            Asked 2020-Nov-23 at 20:30

            I'm trying to debug Azure Function scripts locally, in conjunction with Unity, but getting Timeout errors every time.

            I have a few things here, and I'm not sure which one is actually causing the problem... It might be a settings on Windows, as oppose to one of the softwares.

            I'm building in Unity 2019.4, and and using PlayFab and it's ability to use Azure Functions. When I try to execute scripts from the Azure servers, it functions correctly. But when I try to run it with Local Debugging, I get WebException: The request timed out System.Net.HttpWebRequest.GetRequestStream (See full error below).

            Here's what I'm doing to setup:

            • Set PlayFab to Local Debugging (via VS Code Extension)(and confirming the json file is made in the temp folder)
            • Install Azure Functions Core Tools from Here
            • Start Azure Functions debugging from VS Code (terminal output shows that the the localhost is running it correctly)

            Timeout error references the correct address http://localhost:7071/api/CloudScript/ExecuteFunction as confirmed in the VS Code Terminal when the AzFunc debugging is started.

            When I clone the project to my MacBook Pro, everything runs smoothly in local debugging.

            So, because of this, I've tried checking to make sure ports aren't blocked via PowerShell: netsh firewall show state,and told Windows Defender to not block anything from Unity or Code. When I run Netstat -ab in PowerShell/CMD, I do get:

            ...

            ANSWER

            Answered 2020-Nov-23 at 20:30

            Okay, TLDR: The answer to the problem is that not everything was updated. So, update everything if you're experiencing the same problem.

            More specifically in my case, the "Visual Studio Code Editor" asset in Unity's Package Manager.

            I just wanted throw this out there in case anyone has a problem like this in the future. It may not be the same specific thing that needs upgrading, but search around for everything involved and make sure it's updated. Not just the big, obvious things (like Unity or your IDE). Thankfully for me in this case, the update was starting to cause other problems, and after much headbanging trying to solve those, I came across it.

            Good luck, future fellow idiots!

            Source https://stackoverflow.com/questions/64806430

            QUESTION

            Azure function "ModuleNotFoundError" for local script
            Asked 2020-Nov-02 at 02:37

            I have the following folderstructure:

            ...

            ANSWER

            Answered 2020-Nov-02 at 02:37

            Below is the code on my side, it works fine:

            main.py

            Source https://stackoverflow.com/questions/64638534

            QUESTION

            Segmentation fault while debuggin a C# Azure Function in VS Code
            Asked 2020-Jul-31 at 21:58

            Developing locally a bunch of Azure functions using

            • Windows 10 64-bit
            • Visual Studio Code
            • C#/.NET Core

            Everything was working great. I was able to develop and debug my Azure functions locally and then deploy them to Azure. However a day ago, I upgraded from netcoreapp2.2 to netcorepp3.1. Here is my current settings.json

            ...

            ANSWER

            Answered 2020-Jul-31 at 07:05

            Can you please change [DurableClient] IDurableOrchestrationClient starter to [DurableClient] IDurableClient starter and give it a try ?

            Source https://stackoverflow.com/questions/63181092

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install azure-functions-core-tools

            Using the Core Tools, you can easily configure a Kubernetes cluster and run Azure Functions on it.

            Support

            For questions on Azure Functions or the tools, you can ask questions here:. File bugs at Azure Functions Core Tools repo on GitHub.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i azure-functions-core-tools

          • CLONE
          • HTTPS

            https://github.com/Azure/azure-functions-core-tools.git

          • CLI

            gh repo clone Azure/azure-functions-core-tools

          • sshUrl

            git@github.com:Azure/azure-functions-core-tools.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Cloud Functions Libraries

            Try Top Libraries by Azure

            autorest

            by AzureTypeScript

            DotNetty

            by AzureC#

            azure-sdk-for-python

            by AzurePython

            MachineLearningNotebooks

            by AzureJupyter Notebook