Skip to content

IIS with HttpPlatformHandler

--preset iis-handler is the node build plus .output/web.config that maps every path to HttpPlatformHandler. The full text is on IIS.

Reference

Presetiis-handler
Runs onIIS with HttpPlatformHandler
event.runtime.namenode
Server targetnode
Lifetime, startupprocess, load

Output

text
.output/
  web.config                 maps every path to HttpPlatformHandler, which runs node server\index.mjs
  server/index.mjs
  public/

Config keys

This preset has no key of its own.

Detection

None. Name it with --preset, preset in the config or HAMUR_PRESET; no environment variable selects it.

Deploy command

No hamur deploy command: it exits 1 for this preset. Deploy .output/ as the site root. hamur preview runs the built output with Hamur's own runner.

Limits

  • Runs: streamed answers, server.metrics, private app/env.ts entries read at run time.
  • Does not run: WebSockets and server.syncedState, server.pubsub, image transforms at run time, Durable Object classes.

The levels are the features of the preset: hamur build warns or fails when the app uses a feature the preset does not run (see Preset features).