Catalog Details
CATEGORY
deploymentUUID
109bc209-677b-461b-a580-e049bb83ce65CREATED BY
CREATED AT
July 20, 2026VERSION
0.0.6-
MODELS
What This Design Does:
Hello Wasm — a Dapr sample that serves HTTP responses directly from the Dapr sidecar using WebAssembly (WASM) middleware, with no separate application required. The design contains two Dapr resources: a Configuration (appconfig) that enables a WASM handler in the HTTP pipeline, and a Component (wasm) of type middleware.http.wasm that loads the WASM binary. Useful as a starting point for building custom, embedded HTTP middleware in Dapr.
Caveats and Consideration:
- Targets Dapr runtime v1.10; the WASM binary must be http-wasm compatible. - The Component references the binary via a local path (file://wasm/main.wasm), so the .wasm file must be available to the sidecar at that location. - The original sample runs in self-hosted (local) Dapr; deploying to Kubernetes requires adjusting the binary source and resource paths. - This design does not include the compiled main.wasm binary itself.