

Azure Functions – Dev environment in 120 seconds
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.


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
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!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK