TIP
💡 Learn more : Azure Functions Documentation (opens new window).
📺 Watch the video : How to Create an Azure Functions Project with Visual Studio Code (opens new window).
# Create an Azure Functions project with Visual Studio Code
Visual Studio Code is the best thing since coffee for developers and if you pair it with Azure Functions... well, more awesome happens. In this post, we'll look at adding an Azure Function project to Visual Studio Code.
It is fairly easy as all you need to do is open VS Code, click on Extensions and search for azure functions
and install it as shown below.
Once installed, you'll need to reload the extension and you should see your subscriptions.
You may need to sign in if Visual Studio Code hasn't already been authenticated.
Now you should create a project, then a function app, and select which template that you want to use. After you select a template, then you'll need to provide a name and a authorization level.
Just hit F5 and you have a local Azure Function running in Visual Studio Code.