⚠️ WARNING: These examples only work in Dnn ☢️
2sxc 12 introduces the new
PageService
which also works in Oqtane 💧.
We suggest you use that instead. 👉 See
Razor Page Service
Note that to ensure this tutorial can run on all platforms, we've included some
#if NETCOREAPP
which changes what code runs on what platform.
This page sets various open-graph headers.
Look at the resulting output-source to see the effect.