Introduction🔗
The Getting Started Web examples show how to add 51Degrees device detection to a web application. The pipeline runs on each incoming HTTP request, reads the User-Agent and any User-Agent Client Hints the browser sent, and exposes the detected device, operating system and browser properties to your handler so you can adapt the response.
Two deployment models are covered:
- Cloud — calls 51Degrees' hosted Cloud service over HTTPS. No data file to manage, no on-premise binary to update; suitable for traffic that already reaches a public endpoint and for teams who want the fastest path to a working integration. See Getting Started Web Cloud.
- On-premise — runs the Hash engine inside your own process against a locally distributed data file. Suitable for workloads that need offline operation, predictable latency, or the highest request throughput. See Getting Started Web On-premise.
Both examples follow the same pattern: configure a pipeline, register it with the framework, and read the detected properties off the request. Each ships side-by-side snippets across every supported language and web framework, so you can pick the one that matches your stack and skip the rest. If you are evaluating which deployment model fits your use case first, see Migrating from Cloud to On-premise for a comparison.
