# Web profile Private candidate SDK0.5.59 / source0.4.39 / AST28 / wire1. Finite private web-profile installation is independently accepted; whole-SDK public distribution remains pending. Existing public native/Wasm downloads retain their earlier profiles; implementation and readable SDK archives remain closed. Compile with `{profile:'web'}`. Pure source functions compose `Html`. A literal binding expression piped into `html("
{{label}}
")` receives context-specific escaping. Use `navigationUrl()`, `resourceUrl()` and `htmlJson()` for their exact contexts. No raw cast or authority from JSON. `Html |> document()` returns a lazy immutable Document. `repeatDocument(count)` and `appendDocument(other)` share children. Consume an original successful receipt's output once with `soloncode/web` `openDocumentStream` or `writeDocument`. Streaming quotas are explicit nullable host policies; UTF8 scalars stay intact. Unknown writes are never retried. Text stages: `trimUnicode`, `trimECMAScript`, `utf8Bytes`, `codePoints`, `utf16Units`. Their names describe distinct Unicode domains. [Guide](../web-platform.md) · [Source example](../web-platform.md#canonical-example) · [All twelve stages](../web-platform.md#all-twelve-stages) Application definitions bind original Programs to Record state/events and Document output. HTTP/D1 use the official `http.request`, `d1.query` and `d1.execute` names, original factory interfaces/adapters and explicit runtime capabilities. No alias layer is needed: ```solon solonsky SourceCall { use d1; input request: Record; derive result: Record = d1.query(request); output result; } ``` Compile with `interfaces: factory.interfaces`; execute with `adapters: factory.adapters` and `capabilities: ['storage.read']`. Source DATA does not supply permission or a database handle. Local build/dev/source maps have 20 accepted unique Source definitions: 19 first successes plus one selected corrected negative. Separate local Miniflare/workerd integration has eight independently accepted cases and 90 controller assertions, including actual local D1 and a complete 1 MiB document. The finite installed scope is qualified separately; these local checks are not a production Cloudflare deployment. Generated browser modules remain private implementation artifacts. [Applications](../web-application.md) · [HTTP and D1](../web-effects.md) · [Build tools](../web-build.md)