~/talk

Hands-on Workshop: Refactor Node.js and Express APIs to Serverless APIs with Azure Functions

Talkat Microsoft Create: Serverless 2020 · on Wednesday, 2020-09-30· [serverless, nodejs]
links:none on file
slides:none on file

Refactors a Node.js + Express API into Azure Functions by copying the services, replacing Express request/response types with Azure Functions context.req/context.res destructuring, and creating four HTTP-trigger functions (GET/POST/PUT/DELETE) with adjusted function.json edits and route parameters. Uses VS Code, Azure Functions Core Tools and the Functions extension to run Angular on 4200 and functions on 7071, hits breakpoints in the debugger, and validates behavior. Live pricing demo shows nearly free execution until huge scale—about ~$0.02 at ~101 million executions.

AI-written summary · about

  1. 0:00Start
  2. 6:46Azure Pricing Calculator
  3. 11:46Getting Started
  4. 11:59Git Clone
  5. 12:40Dependencies To Install
  6. 13:57Context Switching
  7. 18:18Creating an Azure Functions Application
  8. 21:10Create Function
  9. 29:37Refactor the Route
  10. 37:26The Proxy Config
  11. 39:29Review Your Azure Functions Application
  12. 41:58Breakpoints
  13. 48:47Where Would You Find the Code in Azure Functions Application That Runs When an Http Request Is Made
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.