4

Azure Functions – Dev environment in 120 seconds

 2 years ago
source link: https://dev.to/timur_kh/azure-functions-dev-environment-in-120-seconds-2a8n
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Cover image for Azure Functions – Dev environment in 120 seconds

Azure Functions – Dev environment in 120 seconds

Sep 20

・1 min read

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 modeExit 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:

Happy coding!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK