Create a new function in the container

Developing in remote containers is just like developing on your own machine. Add a new endpoint to the API to make the light change rapidly.

  • Add a new Function with the Azure Functions extension

  • Call it "danceDance"

  • Set the light color to a random hex value

  • Restart the project with the VS Code debugger

  • Visit the danceDance endpoint and refresh your browser

Last updated