Azure Functions – Dev environment in 120 seconds

timur_kh

Timur Kh

Posted on September 20, 2021

Azure Functions – Dev environment in 120 seconds

VS Code and containers hugely accelerate and simplify development process. Let's take a quick look at zero to hero dev environment set up.

Assumptions and prep work

This walkthrough assumes you've got Docker and VS Code installed. If you happen to have choco, run

choco install docker-desktop vscode -y
Enter fullscreen mode Exit fullscreen mode

Next, we'll use VS Code's built-in dev container library to pick our environment of choice. Then we'll build up and switch into our container and create a function app. Finally, we'd run the code to verify environment set up correctly.

See it in action

With a bit of editing to eliminate wait time, I arrived at 1 minute 43-second-long screen capture of me bootstrapping a new environment and running the code:

image

Happy coding!

💖 💪 🙅 🚩
timur_kh
Timur Kh

Posted on September 20, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related