How This Site Works
The whole site is a case study: an ASP.NET Core app prerendered to static pages, served from Cloudflare's edge, with every live feature running through same-origin functions. This page is the map.
The architecture
The browser only ever talks to this domain. Everything live rides a same-origin function, so the content-security policy allows no third-party hosts at all.
Build and deploy
The site is a normal ASP.NET Core MVC app, but nobody runs it in production. A build script boots it, crawls every route, and writes the rendered HTML to disk. GitHub Actions gates each deploy behind three suites: unit tests on the pure logic, a Playwright smoke suite that drives every page and app flow against the built output with stubbed upstreams, and an axe accessibility audit of every route. Only a green gate deploys, and after the traffic flip a health check probes production and rolls back on a bad answer. The version in the footer is that pipeline's stamp.
Live data without leaving home
Every app that shows live data (Mars weather, DNR trails and boundaries, lake depths, market prices, news) calls a Cloudflare Pages Function on this domain, which fetches the upstream, normalizes the answer, caches it at the edge, and fails open with a friendly message when the source is down. The status page probes the same paths the apps really use.
Your data, your device
Apps store everything in the browser first; nothing requires an account. Signing in is a passkey (WebAuthn, no passwords, verified by hand-rolled dependency-free code in a function), and it syncs a short allowlist of app data through Workers KV with last-write-wins merging. The account page shows exactly what syncs.
Offline on purpose
A service worker precaches the client-side tools so they work with no network at all, keeps visited pages readable offline, and refuses to cache anything suspicious (a corporate proxy's block page can't poison an image). The Outdoor Hub goes further: saving a trip downloads the map-tile pyramid, the data, and the pages for an area, so the trail maps work in a cabin with no signal.